[COMMITTERS] pgsql: Move SPI error reporting out of ri_ReportViolation()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [COMMITTERS] pgsql: Move SPI error reporting out of ri_ReportViolation()
Дата
Msg-id E1dzvhH-0006GT-FM@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move SPI error reporting out of ri_ReportViolation()

These are two completely unrelated code paths, so it doesn't make sense
to pack them into one function.

Add attribute noreturn to ri_ReportViolation().

Reviewed-by: Michael Paquier <michael.paquier@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/582bbcf37fb45ea2e6a851bf9a3c7d7364c7ad32

Modified Files
--------------
src/backend/utils/adt/ri_triggers.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

В списке pgsql-committers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: [COMMITTERS] pgsql: Msvc doesn't know UINT16_MAX, replace with PG_UINT16_MAX.
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Fix more user-visible elog() calls.