Add tests for recovery deadlock conflicts.

Andres Freund <andres@anarazel.de>

Commit: 21e184403bf92c52191d1f03dd6566a3d54dc907
Author: Andres Freund <andres@anarazel.de>
Date: 2022-05-03T00:19:11Z
Releases: 15.0
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

Files

PathChange+/−
src/test/recovery/t/031_recovery_conflict.pl modified +79 −7

Discussion