diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-04-13 14:17:46 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-04-13 14:17:46 +0000 |
commit | 361bd1662eb1edbc24a9e26dd413e5f38c68fcdf (patch) | |
tree | 1ed8f32f93926b77336ec11ebbe3517046b22158 /src/include | |
parent | ea9c103237ae9a42cc8e7acdf837df959c03c107 (diff) |
Allow Hot Standby to begin from a shutdown checkpoint.
Patch by Simon Riggs & me
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/twophase.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |