Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e464cb7

Browse files
author
Amit Kapila
committed
Fix origin timestamp during decoding of ROLLBACK PREPARED operation.
This happens because we were passing incorrect arguments to ReorderBufferFinishPrepared(). Author: Masahiko Sawada Reviewed-by: Vignesh C Backpatch-through: 14 Discussion: https://postgr.es/m/CAD21AoBqhUqgDZUhUVnnwKRubPDNJ6m6fJDPgok3E5cWJLL+pA@mail.gmail.com
1 parent 254c63e commit e464cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/decode.c

+1-1
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)