Add an errdetail_internal() ereport auxiliary routine.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ed7ed76712263717477487d326d3e86cfb0ad31c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-07-16T18:22:15Z
Releases: 9.2.0
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

Files

PathChange+/−
doc/src/sgml/sources.sgml modified +18 −7
src/backend/utils/error/elog.c modified +27 −0
src/include/utils/elog.h modified +6 −0