pgsql: Revert "Refactor compile-time assertion checks in c.h" - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Revert "Refactor compile-time assertion checks in c.h"
Date
Msg-id E1jGEsn-0004JW-Or@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert "Refactor compile-time assertion checks in c.h"

This reverts commit b7f64c6, which broke the fallback implementation for
C++.  We have discussed a couple of alternatives to reduce the number of
implementations for those asserts, but nothing allowing to reduce the
number of implementations down to three instead of four, so there is no
benefit in keeping this patch.

Thanks to Tom Lane for the discussion.

Discussion: https://postgr.es/m/20200313115033.GA183471@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/faa650a99b4bfbe95e88f44070ae0df1818944a7

Modified Files
--------------
src/include/c.h | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Add object names to partition integrity violations.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Disk-based Hash Aggregation.