pgsql: Add an errdetail_internal() ereport auxiliary routine.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Add an errdetail_internal() ereport auxiliary routine.
Дата
Msg-id E1Qi9Wc-0005vz-KB@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add an errdetail_internal() ereport auxiliary routine.

This function supports untranslated detail messages, in the same way that
errmsg_internal supports untranslated primary messages.  We've needed this
for some time IMO, but discussion of some cases in the SSI code provided
the impetus to actually add it.

Kevin Grittner, with minor adjustments by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ed7ed76712263717477487d326d3e86cfb0ad31c

Modified Files
--------------
doc/src/sgml/sources.sgml      |   25 ++++++++++++++++++-------
src/backend/utils/error/elog.c |   27 +++++++++++++++++++++++++++
src/include/utils/elog.h       |    6 ++++++
3 files changed, 51 insertions(+), 7 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Use errdetail_internal() for SSI transaction cancellation detail
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...).