Only use the pipe chunking protocol if we know the syslogger should
authorAndrew Dunstan <[email protected]>
Thu, 19 Jul 2007 19:14:25 +0000 (19:14 +0000)
committerAndrew Dunstan <[email protected]>
Thu, 19 Jul 2007 19:14:25 +0000 (19:14 +0000)
commit83a83ed23684e6bb69d1d366c1cb87d90fe33fa8
treef93310a58010f81afd0f614a1b79e23b1aa8f995
parent5e50b44210f8f499adebad8268758bc59ce00dda
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