Fix incorrect PITR message for transaction ROLLBACK PREPARED
authorMichael Paquier <[email protected]>
Wed, 30 Jun 2021 02:49:29 +0000 (11:49 +0900)
committerMichael Paquier <[email protected]>
Wed, 30 Jun 2021 02:49:29 +0000 (11:49 +0900)
commitd8569db764503d5436bdfef533036b5ce46f2ca0
tree86bb4e556a713b08ec011f2bd875c99f36883eb0
parent06a2b2fe55807c120b1e27bc6043244518c7de65
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
src/backend/access/transam/xlog.c