pgsql: Add tests for recovery deadlock conflicts.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add tests for recovery deadlock conflicts.
Date: 2022-05-03 00:19:57
Message-ID: E1nlgGi-002G1c-Un@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-05-03 01:11:20 pgsql: Backpatch addition of wait_for_log(), pump_until().
Previous Message Michael Paquier 2022-05-02 11:16:54 pgsql: basebackup_to_shell: Add missing MarkGUCPrefixReserved()