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.
Showing
- doc/src/sgml/sources.sgml 12 additions, 1 deletiondoc/src/sgml/sources.sgml
- src/backend/nls.mk 2 additions, 2 deletionssrc/backend/nls.mk
- src/backend/port/ipc_test.c 8 additions, 1 deletionsrc/backend/port/ipc_test.c
- src/backend/utils/error/elog.c 45 additions, 4 deletionssrc/backend/utils/error/elog.c
- src/include/utils/elog.h 8 additions, 1 deletionsrc/include/utils/elog.h
Loading
Please register or sign in to comment