]> 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:14:25 +0000 (19:14 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:14:25 +0000 (19:14 +0000)
commit5a7d6179f6ffe6c6e99a8e7379131c4748b8ae4d
treea4fd588d5521e0ffb3dabbe612a033745801e8d2
parent6869810637f0f6204e2037c227dafad33a8ce3c1
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