[HACKERS] document and use SPI_result_code_string()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [HACKERS] document and use SPI_result_code_string()
Дата
Msg-id 559364af-6d67-4b44-4914-08571769f5a3@2ndquadrant.com
обсуждение исходный текст
Ответы Re: [HACKERS] document and use SPI_result_code_string()  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
A lot of semi-internal code just prints out numeric SPI error codes,
which is not very helpful.  We already have an API function
SPI_result_code_string() to convert the codes to a string, so here is a
patch to make more use of that and also document it for external use.

Also included are two patches to clarify that some RI error handling
code that I encountered at the same time.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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

Вложения

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

Предыдущее
От: Tatsuro Yamada
Дата:
Сообщение: [HACKERS] CLUSTER command progress monitor
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [HACKERS] Back-branch release notes up for review