pgsql: Make the walwriter close it's handle to an old xlog segment if - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Make the walwriter close it's handle to an old xlog segment if
Date
Msg-id 20100609105445.7B4527541D4@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make the walwriter close it's handle to an old xlog segment if it's no longer
the current one. Not doing this would leave the walwriter with a handle to a
deleted file if there was nothing for it to do for a long period of time,
preventing the file from  being completely removed.

Reported by Tollef Fog Heen, and thanks to Heikki for some hand-holding with
the patch.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.417 -> r1.418)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.417&r2=1.418)

pgsql-committers by date:

Previous
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make the walwriter close it's handle to an old xlog segment if
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Make the walwriter close it's handle to an old xlog segment if