pgsql: Fix incorrect PITR message for transaction ROLLBACK PREPARED

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix incorrect PITR message for transaction ROLLBACK PREPARED
Date: 2021-06-30 02:51:05
Message-ID: E1lyQJd-0004Jf-5e@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/93d3d0cf30b90c3d5b553a453fec637543c0b9c9

Modified Files
--------------
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2021-06-30 03:26:43 pgsql: Allow enabling two-phase option via replication protocol.
Previous Message Michael Paquier 2021-06-30 00:59:39 pgsql: Optimize pg_checksums --enable where checksum is already set