pgsql: Enable archiving in recovery TAP test 009_twophase.pl

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Enable archiving in recovery TAP test 009_twophase.pl
Дата
Msg-id E1qBQ9B-002eEb-2u@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a10be37254fe06ca0d16f34d2fd5933d3adfa66e

Modified Files
--------------
src/backend/access/transam/xlog.c   | 6 +++++-
src/test/recovery/t/009_twophase.pl | 4 +++-
2 files changed, 8 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Fix failure at promotion with 2PC transactions and archiving ena
Следующее
От: Jeff Davis
Дата:
Сообщение: pgsql: test_extensions: make meson.build consistent with Makefile.