]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect PITR message for transaction ROLLBACK PREPARED
authorMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:49:24 +0000 (11:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:49:24 +0000 (11:49 +0900)
commit93d3d0cf30b90c3d5b553a453fec637543c0b9c9
tree3c4897d0beaa8a089d91beffba54ca8db6dc784a
parent34c24e5a4337abf9d385558f6beaafb92d3a919d
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