]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Enable archiving in recovery TAP test 009_twophase.pl
authorMichael Paquier <michael@paquier.xyz>
Tue, 20 Jun 2023 01:25:41 +0000 (10:25 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 20 Jun 2023 01:25:41 +0000 (10:25 +0900)
commita10be37254fe06ca0d16f34d2fd5933d3adfa66e
treecb681a259fb886975aed525363c4d53a1ff79e90
parent8f2ec8cc7e3de918988a49302dddc64deca16c02
Enable archiving in recovery TAP test 009_twophase.pl

This is a follow-up of f663b00, that has been committed to v13 and v14,
tweaking the TAP test for two-phase transactions so as it provides
coverage for the bug that has been fixed.  This change is done in its
own commit for clarity, as v15 and HEAD did not show the problematic
behavior, still missed coverage for it.

While on it, this adds a comment about the dependency of the last
partial segment rename and RecoverPreparedTransactions() at the end of
recovery, as that can be easy to miss.

Author: Michael Paquier
Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/743b9b45a2d4013bd90b6a5cba8d6faeb717ee34.camel@cybertec.at
Backpatch-through: 13
src/backend/access/transam/xlog.c
src/test/recovery/t/009_twophase.pl