Fix Windows-specific race condition in syslogger. This could've been
authorHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 18 Mar 2009 08:44:49 +0000 (08:44 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 18 Mar 2009 08:44:49 +0000 (08:44 +0000)
commit77926e66130f670ef910a5c80fb16e9a66f1a01b
tree746a61cb6fe639821d936d81655cc4298ad1bc0a
parent921c03301b639625535ac82fa8f4cf9e50279fe3
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.
src/backend/postmaster/syslogger.c