pgsql: Implement a chunking protocol for writes to the syslogger pipe, - Mailing list pgsql-committers

From adunstan@postgresql.org (Andrew Dunstan)
Subject pgsql: Implement a chunking protocol for writes to the syslogger pipe,
Date
Msg-id 20070614015014.42FCF9FB4F5@postgresql.org
Whole thread Raw
List 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_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        syslogger.c (r1.20.2.1 -> r1.20.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c.diff?r1=1.20.2.1&r2=1.20.2.2)
    pgsql/src/backend/utils/error:
        elog.c (r1.167.2.2 -> r1.167.2.3)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.167.2.2&r2=1.167.2.3)
    pgsql/src/include/postmaster:
        syslogger.h (r1.5 -> r1.5.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/syslogger.h.diff?r1=1.5&r2=1.5.2.1)

pgsql-committers by date:

Previous
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Implement a chunking protocol for writes to the syslogger pipe,
Next
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Implement a chunking protocol for writes to the syslogger pipe,