pgsql: Fix Windows-specific race condition in syslogger. - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Fix Windows-specific race condition in syslogger.
Date
Msg-id 20090318084452.24DE8754AE1@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
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.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        syslogger.c (r1.44 -> r1.44.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c?r1=1.44&r2=1.44.2.1)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix Windows-specific race condition in syslogger.
Next
From: fxjr@pgfoundry.org (User Fxjr)
Date:
Subject: npgsql - Npgsql2: Fixed problem where null parameters were being sent