OSDN Git Service

Bring some sanity to the trace_recovery_messages code and docs.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Aug 2010 22:55:01 +0000 (22:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Aug 2010 22:55:01 +0000 (22:55 +0000)
commit79dc97a401e8b51c3b91f3d629122b3f6c365a9f
treef8799d75c0ef71a9c458c7209e196113daf99e7a
parent9676b01028139ca399f2564f6c4cb40fffe2ec07
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.
doc/src/sgml/config.sgml
src/backend/storage/ipc/standby.c
src/backend/utils/error/elog.c
src/backend/utils/misc/guc.c