Skip site navigation (1) Skip section navigation (2)

pgsql: Fix Windows-specific race condition in syslogger.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix Windows-specific race condition in syslogger.
Date: 2009-03-18 08:44:49
Message-ID: 20090318084449.D9F2B754ADE@cvs.postgresql.org (view raw or flat)
Thread:
Lists: 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.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        syslogger.c (r1.49 -> r1.50)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/syslogger.c?r1=1.49&r2=1.50)

pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2009-03-18 08:44:52
Subject: pgsql: Fix Windows-specific race condition in syslogger.
Previous:From: Tom LaneDate: 2009-03-17 21:36:21
Subject: pgsql: Add just-assigned CVE number to release notes for recent security

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group