]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix Windows-specific race condition in syslogger. This could've been
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 18 Mar 2009 08:44:52 +0000 (08:44 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 18 Mar 2009 08:44:52 +0000 (08:44 +0000)
commit06ce04ab18f8061b035dabbdee7b0bb793ac3200
tree1eb009635c6b7b56e084fc0293b2401becd7f017
parent6cc0e006ee613896623065195fef8a556181da6d
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