Fix incorrect PITR message for transaction ROLLBACK PREPARED
authorMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:49:10 +0000 (11:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:49:10 +0000 (11:49 +0900)
commit607a3a43bca573a02570f374fd98c82a0c2e12a1
tree7e3d8c0fdbb0b9b419bc6837e6c648a50d827d7d
parent322e82b77ef4acb9697c6e4259292f5671cb85bb
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