Add a new ereport auxiliary function errdetail_log(), which works the same as
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |