pgsql: Bring some sanity to the trace_recovery_messages code and docs.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Bring some sanity to the trace_recovery_messages code and docs.
Date: 2010-08-19 22:55:10
Message-ID: 20100819225510.41B677541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
pgsql/doc/src/sgml:
config.sgml (r1.294.2.4 -> r1.294.2.5)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.294.2.4&r2=1.294.2.5)
pgsql/src/backend/storage/ipc:
standby.c (r1.27.2.1 -> r1.27.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/standby.c?r1=1.27.2.1&r2=1.27.2.2)
pgsql/src/backend/utils/error:
elog.c (r1.224.2.1 -> r1.224.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.224.2.1&r2=1.224.2.2)
pgsql/src/backend/utils/misc:
guc.c (r1.561 -> r1.561.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.561&r2=1.561.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-08-20 01:07:50 pgsql: Remove the isLocalBuf argument from ReadBuffer_common.
Previous Message Tom Lane 2010-08-19 22:55:01 pgsql: Bring some sanity to the trace_recovery_messages code and docs.