From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Check that we've reached end-of-backup also when we're not perfo |
Date: | 2011-03-30 07:55:45 |
Message-ID: | E1Q4qFl-0000Mw-DA@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Check that we've reached end-of-backup also when we're not performing
archive recovery.
It's possible to restore an online backup without recovery.conf, by simply
copying all the necessary WAL files to pg_xlog. "pg_basebackup -x" does that
too. That's the use case where this cross-check is useful.
Backpatch to 9.0. We used to do this in earlier versins, but in 9.0 the code
was inadvertently changed so that the check is only performed after archive
recovery.
Fujii Masao.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/acf47401321ce55f06026a2f5d5512b404da3e55
Modified Files
--------------
src/backend/access/transam/xlog.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Urbański | 2011-03-30 18:21:05 | Re: Re: [COMMITTERS] pgsql: Fix plpgsql to release SPI plans when a function or DO block is |
Previous Message | Heikki Linnakangas | 2011-03-30 07:24:47 | pgsql: Automatically terminate replication connections that are idle fo |