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

Поиск
Список
Период
Сортировка
От mha@postgresql.org (Magnus Hagander)
Тема pgsql: Make the walwriter close it's handle to an old xlog segment if
Дата
Msg-id 20100609105453.EC2FE7541D4@cvs.postgresql.org
обсуждение исходный текст
Список 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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.345.2.8 -> r1.345.2.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.345.2.8&r2=1.345.2.9)

В списке pgsql-committers по дате отправления:

Предыдущее
От: itagaki@postgresql.org (Takahiro Itagaki)
Дата:
Сообщение: pgsql: Avoid "identifier will be truncated" warning in dblink when
Следующее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Make the walwriter close it's handle to an old xlog segment if