From 71c6a8e375b138af8aa46d80226ea9e98f2b94bc Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Sat, 25 Jan 2014 17:34:04 +0200 Subject: 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. --- src/include/access/xlog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include/access/xlog.h') diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 281f51629e..47e302276b 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -173,7 +173,8 @@ typedef enum RECOVERY_TARGET_UNSET, RECOVERY_TARGET_XID, RECOVERY_TARGET_TIME, - RECOVERY_TARGET_NAME + RECOVERY_TARGET_NAME, + RECOVERY_TARGET_IMMEDIATE } RecoveryTargetType; extern XLogRecPtr XactLastRecEnd; -- cgit v1.2.1