Fix problem with infinite recursion between write_syslogger_file and

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a214e9c9967acf78d938ea205b7bf24e18cdf11a
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-12T01:54:44Z
Releases: 8.1.0
Fix problem with infinite recursion between write_syslogger_file and
elog if the former has trouble writing its file.  Code review for
Magnus' patch to redirect stderr to syslog on Windows (Bruce's version
seems right, but did some minor prettification).

Backpatch both changes to 8.0 branch.

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +3 −4
src/backend/utils/error/elog.c modified +12 −7