recptr = XactLogCommitRecord(committs,
nchildren, children, nrels, rels,
ninvalmsgs, invalmsgs,
- initfileinval, false,
+ initfileinval,
MyXactFlags | XACT_FLAGS_ACQUIREDACCESSEXCLUSIVELOCK,
xid, gid);
* ForceSyncCommit
*
* Interface routine to allow commands to force a synchronous commit of the
- * current top-level transaction
+ * current top-level transaction. Currently, two-phase commit does not
+ * persist and restore this variable. So long as all callers use
+ * PreventInTransactionBlock(), that omission has no consequences.
*/
void
ForceSyncCommit(void)
XactLogCommitRecord(xactStopTimestamp,
nchildren, children, nrels, rels,
nmsgs, invalMessages,
- RelcacheInitFileInval, forceSyncCommit,
+ RelcacheInitFileInval,
MyXactFlags,
InvalidTransactionId, NULL /* plain commit */ );
int nsubxacts, TransactionId *subxacts,
int nrels, RelFileNode *rels,
int nmsgs, SharedInvalidationMessage *msgs,
- bool relcacheInval, bool forceSync,
+ bool relcacheInval,
int xactflags, TransactionId twophase_xid,
const char *twophase_gid)
{
int nsubxacts, TransactionId *subxacts,
int nrels, RelFileNode *rels,
int nmsgs, SharedInvalidationMessage *msgs,
- bool relcacheInval, bool forceSync,
+ bool relcacheInval,
int xactflags,
TransactionId twophase_xid,
const char *twophase_gid);