From 361bd1662eb1edbc24a9e26dd413e5f38c68fcdf Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Tue, 13 Apr 2010 14:17:46 +0000 Subject: Allow Hot Standby to begin from a shutdown checkpoint. Patch by Simon Riggs & me --- src/include/access/twophase.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/access/twophase.h b/src/include/access/twophase.h index 61b92244fb9..ea3c9966c73 100644 --- a/src/include/access/twophase.h +++ b/src/include/access/twophase.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/twophase.h,v 1.14 2010/01/02 16:58:00 momjian Exp $ + * $PostgreSQL: pgsql/src/include/access/twophase.h,v 1.15 2010/04/13 14:17:46 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -44,6 +44,7 @@ extern bool StandbyTransactionIdIsPrepared(TransactionId xid); extern TransactionId PrescanPreparedTransactions(TransactionId **xids_p, int *nxids_p); +extern void StandbyRecoverPreparedTransactions(bool overwriteOK); extern void RecoverPreparedTransactions(void); extern void RecreateTwoPhaseFile(TransactionId xid, void *content, int len); -- cgit v1.2.3