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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Revert "Refactor compile-time assertion checks in c.h"
Дата
Msg-id E1jGEsn-0004JW-Or@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: pgsql: Add object names to partition integrity violations.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Disk-based Hash Aggregation.