Only use the pipe chunking protocol if we know the syslogger should

Andrew Dunstan <andrew@dunslane.net>

Commit: 19c9660ca8e87cee53d80dc4e2c19b4530c44264
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-07-19T19:15:25Z
Releases: 8.0.14
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.

Files