Add a new ereport auxiliary function errdetail_log(), which works the same as

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

Commit: 05fc744b967d15fa07c484ad87dd8cc943ad839f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-03-24T18:08:47Z
Releases: 8.4.0
Add a new ereport auxiliary function errdetail_log(), which works the same as
errdetail except the string goes only to the server log, replacing the normal
errdetail there.  This provides a reasonably clean way of dealing with error
details that are too security-sensitive or too bulky to send to the client.

This commit just adds the infrastructure --- actual uses to follow.

Files

PathChange+/−
doc/src/sgml/sources.sgml modified +12 −1
src/backend/nls.mk modified +2 −2
src/backend/port/ipc_test.c modified +8 −1
src/backend/utils/error/elog.c modified +45 −4
src/include/utils/elog.h modified +8 −1