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

Commitf8617e2

Browse files
committed
fix2
1 parentb4e31d3 commitf8617e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/replication/logical/decode.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ DecodePrepare(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
545545
XLogRecPtrorigin_id=XLogRecGetOrigin(buf->record);
546546
inti;
547547
TransactionIdxid=parsed->twophase_xid;
548+
strcpy(ctx->reorder->gid,parsed->twophase_gid);
548549

549550
/*
550551
* Process invalidation messages, even if we're not interested in the
@@ -561,8 +562,6 @@ DecodePrepare(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
561562
SnapBuildCommitTxn(ctx->snapshot_builder,buf->origptr,xid,
562563
parsed->nsubxacts,parsed->subxacts);
563564

564-
565-
566565
if (SnapBuildXactNeedsSkip(ctx->snapshot_builder,buf->origptr)||
567566
(parsed->dbId!=InvalidOid&&parsed->dbId!=ctx->slot->data.database)||
568567
FilterByOrigin(ctx,origin_id))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp