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

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

From
Michael Paquier
Date:
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(-)