pgsql: Only use the pipe chunking protocol if we know the syslogger

From: adunstan(at)postgresql(dot)org (Andrew Dunstan)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Only use the pipe chunking protocol if we know the syslogger
Date: 2007-07-19 19:14:25
Message-ID: 20070719191425.C97B39FB88F@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Only use the pipe chunking protocol if we know the syslogger should
be catching stderr output, and we are not ourselves the
syslogger. Otherwise, go directly to stderr.
Bug noticed by Tom Lane.
Backpatch as far as 8.0.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.505.2.3 -> r1.505.2.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.505.2.3&r2=1.505.2.4)
syslogger.c (r1.29.2.1 -> r1.29.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c.diff?r1=1.29.2.1&r2=1.29.2.2)
pgsql/src/backend/utils/error:
elog.c (r1.178.2.2 -> r1.178.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.178.2.2&r2=1.178.2.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2007-07-19 19:14:54 pgsql: Only use the pipe chunking protocol if we know the syslogger
Previous Message Andrew Dunstan 2007-07-19 19:13:43 pgsql: Only use the pipe chunking protocol if we know the syslogger