Add a new ereport auxiliary function errdetail_log(), which works the same as
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Mar 2008 18:08:47 +0000 (18:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 24 Mar 2008 18:08:47 +0000 (18:08 +0000)
commit05fc744b967d15fa07c484ad87dd8cc943ad839f
tree451fe0c2b9be3fe55ab69f9cbcb7f19eda3b6053
parent7feabcbf7f2d140289d79b97ba99ff44711fcf72
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.
doc/src/sgml/sources.sgml
src/backend/nls.mk
src/backend/port/ipc_test.c
src/backend/utils/error/elog.c
src/include/utils/elog.h