*** pgsql/src/include/access/twophase.h 2009/11/23 09:58:36 1.12 --- pgsql/src/include/access/twophase.h 2009/12/19 01:32:42 1.13 *************** *** 7,13 **** * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/access/twophase.h,v 1.11 2009/01/01 17:23:56 momjian Exp $ * *------------------------------------------------------------------------- */ --- 7,13 ---- * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * ! * $PostgreSQL: pgsql/src/include/access/twophase.h,v 1.12 2009/11/23 09:58:36 heikki Exp $ * *------------------------------------------------------------------------- */ *************** extern GlobalTransaction MarkAsPreparing *** 40,47 **** extern void StartPrepare(GlobalTransaction gxact); extern void EndPrepare(GlobalTransaction gxact); ! extern TransactionId PrescanPreparedTransactions(void); extern void RecoverPreparedTransactions(void); extern void RecreateTwoPhaseFile(TransactionId xid, void *content, int len); --- 40,49 ---- extern void StartPrepare(GlobalTransaction gxact); extern void EndPrepare(GlobalTransaction gxact); + extern bool StandbyTransactionIdIsPrepared(TransactionId xid); ! extern TransactionId PrescanPreparedTransactions(TransactionId **xids_p, ! int *nxids_p); extern void RecoverPreparedTransactions(void); extern void RecreateTwoPhaseFile(TransactionId xid, void *content, int len);