Fix incorrect PITR message for transaction ROLLBACK PREPARED
authorMichael Paquier <[email protected]>
Wed, 30 Jun 2021 02:49:36 +0000 (11:49 +0900)
committerMichael Paquier <[email protected]>
Wed, 30 Jun 2021 02:49:36 +0000 (11:49 +0900)
commit68bad2333f7a4436861ec283b030578decca50bf
tree9d46a4c888f7ab84a3df61e86a6aefccf2cf91a4
parentb54be47cdc2d225d8134b197edae9c075146e76d
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