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

pgsql: Change Windows rename and unlink substitutes so that they time

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change Windows rename and unlink substitutes so that they time
Date: 2006-11-08 20:12:05
Message-ID: 20061108201205.3814F9FA2E9@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Log Message:
-----------
Change Windows rename and unlink substitutes so that they time out after
30 seconds instead of retrying forever.  Also modify xlog.c so that if
it fails to rename an old xlog segment up to a future slot, it will
unlink the segment instead.  Per discussion of bug #2712, in which it
became apparent that Windows can handle unlinking a file that's being
held open, but not renaming it.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.253 -> r1.254)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c.diff?r1=1.253&r2=1.254)
    pgsql/src/port:
        dirmod.c (r1.43 -> r1.44)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/dirmod.c.diff?r1=1.43&r2=1.44)

Responses

pgsql-hackers by date

Next:From: Robert TreatDate: 2006-11-09 02:31:38
Subject: Re: 8.2 Beta 3 Now Available for Download / Testing ...
Previous:From: Brendan JurdDate: 2006-11-08 20:08:33
Subject: Error in from_char() for field 'D'?

pgsql-committers by date

Next:From: User DpageDate: 2006-11-09 08:20:26
Subject: psqlodbc - psqlodbc: Test commit
Previous:From: Tom LaneDate: 2006-11-08 19:27:24
Subject: pgsql: Modify aset.c to track the next intended block allocation size

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