Add capability to suppress CONTEXT: messages to elog machinery.
Andres Freund <andres@anarazel.de>
Add capability to suppress CONTEXT: messages to elog machinery. Hiding context messages usually is not a good idea - except for rather verbose debugging/development utensils like LOG_DEBUG. There the amount of repeated context messages just bloat the log without adding information.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/error/elog.c | modified | +22 −2 |
| src/include/utils/elog.h | modified | +2 −0 |