pgsql: Add tests for recovery deadlock conflicts. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Add tests for recovery deadlock conflicts.
Date
Msg-id E1nlgGi-002G1c-Un@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add tests for recovery deadlock conflicts.

The recovery conflict tests added in 9f8a050f68d surfaced a bug in the
interaction between buffer pin and deadlock recovery conflicts. To make sure
that the bugfix won't break deadlock conflict detection, add a test for that
scenario.

031_recovery_conflict.pl will later be backpatched, with this included.

Discussion: https://postgr.es/m/20220413002626.udl7lll7f3o7nre7@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21e184403bf92c52191d1f03dd6566a3d54dc907

Modified Files
--------------
src/test/recovery/t/031_recovery_conflict.pl | 86 +++++++++++++++++++++++++---
1 file changed, 79 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: basebackup_to_shell: Add missing MarkGUCPrefixReserved()
Next
From: Andres Freund
Date:
Subject: pgsql: Backpatch addition of wait_for_log(), pump_until().