*** pgsql/src/include/access/twophase.h 2009/01/01 17:23:56 1.11 --- pgsql/src/include/access/twophase.h 2009/11/23 09:58:36 1.12 *************** *** 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.10 2008/01/01 19:45: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.11 2009/01/01 17:23:56 momjian Exp $ * *------------------------------------------------------------------------- */ *************** *** 15,20 **** --- 15,21 ---- #define TWOPHASE_H #include "access/xlogdefs.h" + #include "storage/backendid.h" #include "storage/proc.h" #include "utils/timestamp.h" *************** extern Size TwoPhaseShmemSize(void); *** 31,36 **** --- 32,38 ---- extern void TwoPhaseShmemInit(void); extern PGPROC *TwoPhaseGetDummyProc(TransactionId xid); + extern BackendId TwoPhaseGetDummyBackendId(TransactionId xid); extern GlobalTransaction MarkAsPreparing(TransactionId xid, const char *gid, TimestampTz prepared_at,