From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor compile-time assertion checks in c.h |
Date: | 2020-03-13 06:12:02 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Refactor compile-time assertion checks in c.h
This commit refactors and simplifies the definitions of StaticAssertStmt,
StaticAssertExpr and StaticAssertDecl. By unifying the C and C++
fallback implementations, this reduces the number of different
implementations from four to three.
Author: Michael Paquier
Reviewed-by: Georgios Kokolatos, Tom Lane
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Modified Files
--------------
src/include/c.h | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2020-03-13 12:31:44 | pgsql: Preserve replica identity index across ALTER TABLE rewrite |
Previous Message | Thomas Munro | 2020-03-12 05:20:04 | pgsql: Fix nextXid tracking bug on standbys (9.5-11 only). |