]> 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:15:25 +0000 (19:15 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 19 Jul 2007 19:15:25 +0000 (19:15 +0000)
commit19c9660ca8e87cee53d80dc4e2c19b4530c44264
tree2dfda435db854c4e56f76ec0f10ea5985f57830b
parenta41c4b218fc7a67234fa657a0b611fea70ddd394
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