]> granicus.if.org Git - postgresql/commit
Only use the pipe chunking protocol if we know the syslogger should
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:13:43 +0000 (19:13 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:13:43 +0000 (19:13 +0000)
commit0e5b4f0e23c18cf62d888294f2b2b055bcdc2327
treeb55db877f1c60d7823d082f477c43b1e545164a2
parent177be3f9bbb0c82e77d24c3982f57444b69200c6
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