pgsql: Implement a chunking protocol for writes to the syslogger pipe,

From: adunstan(at)postgresql(dot)org (Andrew Dunstan)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Implement a chunking protocol for writes to the syslogger pipe,
Date: 2007-06-14 01:49:39
Message-ID: 20070614014939.5E48B9FB36C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Implement a chunking protocol for writes to the syslogger pipe, with messages
reassembled in the syslogger before writing to the log file. This prevents
partial messages from being written, which mucks up log rotation, and
messages from different backends being interleaved, which causes garbled
logs. Backport as far as 8.0, where the syslogger was introduced.

Tom Lane and Andrew Dunstan

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
syslogger.c (r1.29 -> r1.29.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c.diff?r1=1.29&r2=1.29.2.1)
pgsql/src/backend/utils/error:
elog.c (r1.178.2.1 -> r1.178.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.178.2.1&r2=1.178.2.2)
pgsql/src/include/postmaster:
syslogger.h (r1.7 -> r1.7.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/syslogger.h.diff?r1=1.7&r2=1.7.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2007-06-14 01:50:14 pgsql: Implement a chunking protocol for writes to the syslogger pipe,
Previous Message Andrew Dunstan 2007-06-14 01:48:51 pgsql: Implement a chunking protocol for writes to the syslogger pipe,