mirror of
https://github.com/postgres/postgres.git
synced 2026-02-22 09:20:24 -05:00
Fix incorrect PITR message for transaction ROLLBACK PREPARED
Reaching PITR on such a transaction would cause the generation of a LOG
message mentioning a transaction committed, not aborted.
Oversight in 4f1b890.
Author: Simon Riggs
Discussion: https://postgr.es/m/CANbhV-GJ6KijeCgdOrxqMCQ+C8QiK657EMhCy4csjrPcEUFv_Q@mail.gmail.com
Backpatch-through: 9.6
This commit is contained in:
parent
06a2b2fe55
commit
d8569db764
1 changed files with 1 additions and 1 deletions
|
|
@ -5765,7 +5765,7 @@ recoveryStopsBefore(XLogReaderState *record)
|
|||
xl_xact_abort *xlrec = (xl_xact_abort *) XLogRecGetData(record);
|
||||
xl_xact_parsed_abort parsed;
|
||||
|
||||
isCommit = true;
|
||||
isCommit = false;
|
||||
ParseAbortRecord(XLogRecGetInfo(record),
|
||||
xlrec,
|
||||
&parsed);
|
||||
|
|
|
|||
Loading…
Reference in a new issue