Change StaticAssertVariableIsOfType to be a declaration

Peter Eisentraut <peter@eisentraut.org>

Commit: 955e50766869a5ccf862d7f8439f5d35b723c0f9
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-02-03T07:46:02Z
Change StaticAssertVariableIsOfType to be a declaration

This allows moving the uses to more natural and useful positions.
Also, a declaration is the more native use of static assertions in C.

Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/2273bc2a-045d-4a75-8584-7cd9396e5534%40eisentraut.org

Files

Discussion