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
This commit is contained in:
parent
64ab21f0e5
commit
f2e1730ee9
@ -876,8 +876,8 @@ DecodeAbort(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
|
||||
if (two_phase && !skip_xact)
|
||||
{
|
||||
ReorderBufferFinishPrepared(ctx->reorder, xid, buf->origptr, buf->endptr,
|
||||
abort_time, origin_id, origin_lsn,
|
||||
InvalidXLogRecPtr,
|
||||
abort_time, origin_id, origin_lsn,
|
||||
parsed->twophase_gid, false);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user