pgsql: Change StaticAssertVariableIsOfType to be a declaration - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Change StaticAssertVariableIsOfType to be a declaration
Date
Msg-id E1vnBRv-000sFs-0H@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add two IO wait events for COPY FROM/TO on a pipe/file/program
Next
From: Álvaro Herrera
Date:
Subject: pgsql: Reject ADD CONSTRAINT NOT NULL if name mismatches existing const