]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Only use the pipe chunking protocol if we know the syslogger should
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:14:54 +0000 (19:14 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:14:54 +0000 (19:14 +0000)
commitfbbc0f05f1e0cc7618d637cdc6ce2cb96dbf9f52
tree6f596e6b3a62f3c6c3d4690d0590e27896eec93d
parent429870e33e97d2e7748e5dd146adcbd5058e218e
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.
src/backend/postmaster/postmaster.c
src/backend/postmaster/syslogger.c
src/backend/utils/error/elog.c