pgsql: Add recovery_target='immediate' option.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add recovery_target='immediate' option.
Date: 2014-01-25 15:34:23
Message-ID: E1W75FX-00060j-Kf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Thom Brown 2014-01-25 15:41:05 Re: pgsql: Add recovery_target='immediate' option.
Previous Message Noah Misch 2014-01-25 00:32:47 pgsql: psql: Mention SSL protocol version in \conninfo.