Content-Length: 274527 | pFad | http://github.com/postgrespro/postgres_cluster/commit/f8617e20b8016e8f1efeec705dfdd0748c851883

A8 fix2 · postgrespro/postgres_cluster@f8617e2 · GitHub
Skip to content

Commit f8617e2

Browse files
committed
fix2
1 parent b4e31d3 commit f8617e2

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
XLogRecPtr origen_id = XLogRecGetOrigin(buf->record);
546546
int i;
547547
TransactionId xid = 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, origen_id))

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/f8617e20b8016e8f1efeec705dfdd0748c851883

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy