Fix incorrect PITR message for transaction ROLLBACK PREPARED

Michael Paquier <michael@paquier.xyz>

Commit: 17707c059cf4bf610e3b1833df5ca17cf223fe5f
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-06-30T02:48:53Z
Releases: 15.0
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

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +1 −1

Discussion