]> 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:16 +0000 (11:49 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 30 Jun 2021 02:49:16 +0000 (11:49 +0900)
commit41edb2db1b9161fe5c100d3806e08c63a9f89196
treef4aed38a029f1b93f7258f4d201b6f1d114db892
parent1603deca34ef403fc40d471ba6512d9f170ba7b5
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