pgsql: Better fix for "unarchived WAL files get deleted on crash recove - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Better fix for "unarchived WAL files get deleted on crash recove
Date
Msg-id E1U6PGl-0004h4-Rs@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Better fix for "unarchived WAL files get deleted on crash recovery" bug.

Revert my earlier fix for the bug that unarchived WAL files get deleted on
crash recovery, commit c9cc7e05c6d82a9781883a016c70d95aa4923122. We create
a .done file for files streamed or restored from archive, so the WAL file
recycling logic used during normal operation works just as well during
archive recovery.

Per Fujii Masao's suggestion.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b5ec56f664fa20d80fe752de494ec96362eff520

Modified Files
--------------
src/backend/access/transam/xlog.c |   30 +-----------------------------
1 files changed, 1 insertions(+), 29 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Better fix for "unarchived WAL files get deleted on crash recove
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint