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

Commite464cb7

Browse files
author
Amit Kapila
committed
Fix origin timestamp during decoding of ROLLBACK PREPARED operation.
This happens because we were passing incorrect arguments toReorderBufferFinishPrepared().Author: Masahiko SawadaReviewed-by: Vignesh CBackpatch-through: 14Discussion:https://postgr.es/m/CAD21AoBqhUqgDZUhUVnnwKRubPDNJ6m6fJDPgok3E5cWJLL+pA@mail.gmail.com
1 parent254c63e commite464cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,8 +875,8 @@ DecodeAbort(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
875875
if (two_phase&& !skip_xact)
876876
{
877877
ReorderBufferFinishPrepared(ctx->reorder,xid,buf->origptr,buf->endptr,
878-
abort_time,origin_id,origin_lsn,
879878
InvalidXLogRecPtr,
879+
abort_time,origin_id,origin_lsn,
880880
parsed->twophase_gid, false);
881881
}
882882
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp