Fix Windows-specific race condition in syslogger. This could've been

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 06ce04ab18f8061b035dabbdee7b0bb793ac3200
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-03-18T08:44:52Z
Releases: 8.3.8
Fix Windows-specific race condition in syslogger. This could've been
the cause of the "could not write to log file: Bad file descriptor"
errors reported at
http://archives.postgresql.org//pgsql-general/2008-06/msg00193.php

Backpatch to 8.3, the race condition was introduced by the CSV logging
patch.

Analysis and patch by Gurjeet Singh.

Files

PathChange+/−
src/backend/postmaster/syslogger.c modified +7 −6