]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change StaticAssertVariableIsOfType to be a declaration
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 3 Feb 2026 07:36:47 +0000 (08:36 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 3 Feb 2026 07:46:02 +0000 (08:46 +0100)
commit955e50766869a5ccf862d7f8439f5d35b723c0f9
tree32080e8401e980cc2334433316b1c601de555e43
parent137d05df2f2014c584b229310b8635fa6a8572ba
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
contrib/hstore_plperl/hstore_plperl.c
contrib/hstore_plpython/hstore_plpython.c
contrib/jsonb_plpython/jsonb_plpython.c
contrib/ltree_plpython/ltree_plpython.c
src/include/c.h