Bring some sanity to the trace_recovery_messages code and docs.
Per gripe from Fujii Masao, though this is not exactly his proposed patch. Categorize as DEVELOPER_OPTIONS and set context PGC_SIGHUP, as per Fujii, but set the default to LOG because higher values aren't really sensible (see the code for trace_recovery()). Fix the documentation to agree with the code and to try to explain what the variable actually does. Get rid of no-op calls trace_recovery(LOG), which accomplish nothing except to demonstrate that this option confuses even its author.
Showing
- doc/src/sgml/config.sgml 26 additions, 27 deletionsdoc/src/sgml/config.sgml
- src/backend/storage/ipc/standby.c 3 additions, 3 deletionssrc/backend/storage/ipc/standby.c
- src/backend/utils/error/elog.c 11 additions, 4 deletionssrc/backend/utils/error/elog.c
- src/backend/utils/misc/guc.c 8 additions, 4 deletionssrc/backend/utils/misc/guc.c
Loading
Please register or sign in to comment