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

Andrew Dunstan <andrew@dunslane.net>

Commit: 0e5b4f0e23c18cf62d888294f2b2b055bcdc2327
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-07-19T19:13:43Z
Releases: 8.3.0
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