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
Author: Simon Riggs
Discussion:
Backpatch-through: 9.6
@@ -5713,7 +5713,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);
