Обсуждение: pgsql: Add an errdetail_internal() ereport auxiliary routine.

Поиск
Список
Период
Сортировка

pgsql: Add an errdetail_internal() ereport auxiliary routine.

От
Tom Lane
Дата:
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(-)