pgsql: Add an errdetail_internal() ereport auxiliary routine. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add an errdetail_internal() ereport auxiliary routine.
Date
Msg-id E1Qi9Wc-0005vz-KB@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Use errdetail_internal() for SSI transaction cancellation detail
Next
From: Tom Lane
Date:
Subject: pgsql: Replace errdetail("%s", ...) with errdetail_internal("%s", ...).