From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix syslog bug: if any messages are emitted to write_syslog |
Date: | 2005-10-14 20:53:57 |
Message-ID: | 20051014205357.5693BD9AA5@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Fix syslog bug: if any messages are emitted to write_syslog before
the facility has been set, the facility gets set to LOCAL0 and cannot
be changed later. This seems reasonably plausible to happen, particularly
at higher debug log levels, though I am not certain it explains Han Holl's
recent report. Easiest fix is to teach the code how to change the value
on-the-fly, which is nicer anyway. I made the settings PGC_SIGHUP to
conform with log_destination.
Modified Files:
--------------
pgsql/doc/src/sgml:
config.sgml (r1.28 -> r1.29)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml.diff?r1=1.28&r2=1.29)
pgsql/src/backend/utils/error:
elog.c (r1.163 -> r1.164)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.163&r2=1.164)
pgsql/src/backend/utils/misc:
guc.c (r1.291 -> r1.292)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.291&r2=1.292)
pgsql/src/include/utils:
elog.h (r1.79 -> r1.80)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/elog.h.diff?r1=1.79&r2=1.80)
From | Date | Subject | |
---|---|---|---|
Next Message | James William Pye | 2005-10-14 22:11:19 | python - be: Add forgotten FLOAT8OID constant. |
Previous Message | Andrew Dunstan | 2005-10-14 20:48:19 | pgsql: fix nonsensical summary row on example |