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

Commit8cd3c51

Browse files
committed
Add special handling for catalog snapshot
1 parent2848c30 commit8cd3c51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎contrib/mmts/multimaster.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,9 @@ csn_t MtmDistributedTransactionSnapshot(TransactionId xid, int nodeId, nodemask_
457457
SnapshotMtmGetSnapshot(Snapshotsnapshot)
458458
{
459459
snapshot=PgGetSnapshotData(snapshot);
460-
RecentGlobalDataXmin=RecentGlobalXmin=Mtm->oldestXid;
460+
if (snapshot!=&CatalogSnapshotData) {
461+
RecentGlobalDataXmin=RecentGlobalXmin=Mtm->oldestXid;
462+
}
461463
returnsnapshot;
462464
}
463465

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp