Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34c5245

Browse files
committed
Receive snapshots implicitly
2 parents9d14fcb +4b5d155 commit34c5245

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎contrib/pg_xtm/pg_dtm.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,13 @@ PG_FUNCTION_INFO_V1(dtm_get_current_snapshot_xmin);
452452
Datum
453453
dtm_get_current_snapshot_xmin(PG_FUNCTION_ARGS)
454454
{
455+
// if (IsolationUsesXactSnapshot()){ /* RR & S */
456+
// DtmEnsureConnection();
457+
// DtmGlobalGetSnapshot(DtmConn, DtmNodeId, gtid.xids[DtmNodeId], &DtmSnapshot);
458+
// Assert(CurrentTransactionSnapshot != NULL);
459+
// DtmMergeSnapshots(CurrentTransactionSnapshot, &DtmSnapshot);
460+
// DtmUpdateRecentXmin();
461+
// }
455462
PG_RETURN_INT32(CurrentTransactionSnapshot->xmin);
456463
}
457464

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp