public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: [email protected]
Subject: pgsql: Change StaticAssertVariableIsOfType to be a declaration
Date: Tue, 03 Feb 2026 08:07:51 +0000
Message-ID: <[email protected]> (raw)

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 <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/2273bc2a-045d-4a75-8584-7cd9396e5534%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/955e50766869a5ccf862d7f8439f5d35b723c0f9

Modified Files
--------------
contrib/hstore_plperl/hstore_plperl.c     | 13 +++++++------
contrib/hstore_plpython/hstore_plpython.c | 17 +++++++++--------
contrib/jsonb_plpython/jsonb_plpython.c   | 10 ++++++----
contrib/ltree_plpython/ltree_plpython.c   |  5 +++--
src/include/c.h                           |  6 +++---
5 files changed, 28 insertions(+), 23 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Change StaticAssertVariableIsOfType to be a declaration
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox