Fix incorrect PITR message for transaction ROLLBACK PREPARED
authorMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:48:53 +0000 (11:48 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:48:53 +0000 (11:48 +0900)
commit17707c059cf4bf610e3b1833df5ca17cf223fe5f
tree8102c5cf7079a5cf5d6bf1892acba7200a25f156
parent4c9f50d116461617848601e97dbc6f122b0a6f14
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