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/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/faa650a99b4bfbe95e88f44070ae0df1818944a7 Modified Files -------------- src/include/c.h | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-)
