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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Refactor compile-time assertion checks in c.h"
Date: 2020-03-23 04:40:13
Message-ID: E1jGEsn-0004JW-Or@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-03-23 06:05:06 Re: pgsql: Disk-based Hash Aggregation.
Previous Message Amit Kapila 2020-03-23 02:47:42 pgsql: Add object names to partition integrity violations.