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

Andrew Dunstan <andrew@dunslane.net>

Commit: fbbc0f05f1e0cc7618d637cdc6ce2cb96dbf9f52
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-07-19T19:14:54Z
Releases: 8.1.10
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