pgsql: Only use the pipe chunking protocol if we know the syslogger
pgsql: Only use the pipe chunking protocol if we know the syslogger
От:
adunstan@postgresql.org (Andrew Dunstan)
Дата:
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_1_STABLE
Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.475.2.7 -> r1.475.2.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.475.2.7&r2=1.475.2.8)
syslogger.c (r1.20.2.2 -> r1.20.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c.diff?r1=1.20.2.2&r2=1.20.2.3)
pgsql/src/backend/utils/error:
elog.c (r1.167.2.3 -> r1.167.2.4)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c.diff?r1=1.167.2.3&r2=1.167.2.4)