mirror of
https://github.com/postgres/postgres.git
synced 2025-05-09 18:21:05 +03:00
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)
|
if (two_phase && !skip_xact)
|
||||||
{
|
{
|
||||||
ReorderBufferFinishPrepared(ctx->reorder, xid, buf->origptr, buf->endptr,
|
ReorderBufferFinishPrepared(ctx->reorder, xid, buf->origptr, buf->endptr,
|
||||||
abort_time, origin_id, origin_lsn,
|
|
||||||
InvalidXLogRecPtr,
|
InvalidXLogRecPtr,
|
||||||
|
abort_time, origin_id, origin_lsn,
|
||||||
parsed->twophase_gid, false);
|
parsed->twophase_gid, false);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user