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

Andrew Dunstan <andrew@dunslane.net>

Commit: 5a7d6179f6ffe6c6e99a8e7379131c4748b8ae4d
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-07-19T19:14:25Z
Releases: 8.2.5
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