pgsql: Fix a couple of problems pointed out by Fujii Masao in the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a couple of problems pointed out by Fujii Masao in the
Date: 2008-09-08 16:42:16
Message-ID: 20080908164216.2FB7D7545A3@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix a couple of problems pointed out by Fujii Masao in the 2008-Apr-05 patch
for pg_stop_backup. First, it is possible that the history file name is not
alphabetically later than the last WAL file name, so we should explicitly
check that both have been archived. Second, the previous coding would wait
forever if a checkpoint had managed to remove the WAL file before we look for
it.

Simon Riggs, plus some code cleanup by me.

Modified Files:
--------------
pgsql/src/backend/access/transam:
xlog.c (r1.317 -> r1.318)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.317&r2=1.318)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2008-09-08 17:28:33 Re: pgsql: Fix a couple of problems pointed out by Fujii Masao in the
Previous Message Tom Lane 2008-09-08 15:26:23 pgsql: Make pg_dump --data-only try to order the table dumps so that