Thread: pgsql: Add recovery_target='immediate' option.

pgsql: Add recovery_target='immediate' option.

From
Heikki Linnakangas
Date:
Add recovery_target='immediate' option.

This allows ending recovery as a consistent state has been reached. Without
this, there was no easy way to e.g restore an online backup, without
replaying any extra WAL after the backup ended.

MauMau and me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/71c6a8e375b138af8aa46d80226ea9e98f2b94bc

Modified Files
--------------
doc/src/sgml/backup.sgml                        |    2 +-
doc/src/sgml/recovery-config.sgml               |   44 ++++++++++++++++------
src/backend/access/transam/recovery.conf.sample |    6 +++
src/backend/access/transam/xlog.c               |   46 ++++++++++++++++++++++-
src/include/access/xlog.h                       |    3 +-
5 files changed, 86 insertions(+), 15 deletions(-)


Re: pgsql: Add recovery_target='immediate' option.

From
Thom Brown
Date:
On 25 January 2014 15:34, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote:
> Add recovery_target='immediate' option.
>
> This allows ending recovery as a consistent state has been reached. Without
> this, there was no easy way to e.g restore an online backup, without
> replaying any extra WAL after the backup ended.
>
> MauMau and me.

"as soon as a consistency is reached"

Could this perhaps instead read:

"as soon as a consistent state is reached"


Also:

s/ie./i.e./

--
Thom