Skip site navigation (1) Skip section navigation (2)

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:48:51
Message-ID: 20070614014852.0154B9FB4B5@postgresql.org (view raw or flat)
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

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        syslogger.c (r1.31 -> r1.32)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c.diff?r1=1.31&r2=1.32)
    pgsql/src/backend/utils/error:
        elog.c (r1.186 -> r1.187)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.186&r2=1.187)
    pgsql/src/include/postmaster:
        syslogger.h (r1.8 -> r1.9)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/syslogger.h.diff?r1=1.8&r2=1.9)

pgsql-committers by date

Next:From: Andrew DunstanDate: 2007-06-14 01:49:39
Subject: pgsql: Implement a chunking protocol for writes to the syslogger pipe,
Previous:From: Neil ConwayDate: 2007-06-13 23:59:47
Subject: pgsql: Schema-qualify several references to the builtin function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group