Add tests for recovery deadlock conflicts.
authorAndres Freund <andres@anarazel.de>
Tue, 3 May 2022 00:19:11 +0000 (17:19 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 3 May 2022 00:19:11 +0000 (17:19 -0700)
commit21e184403bf92c52191d1f03dd6566a3d54dc907
tree9e73b174c7a0623389634d209fd290236fb86fc2
parent7307988abdff6c948d87e6d9dc9aaaa1f4c5283f
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
src/test/recovery/t/031_recovery_conflict.pl