diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/btree_index.out /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/btree_index.out --- /tmp/cirrus-ci-build/src/test/regress/expected/btree_index.out 2024-08-20 17:54:27.346378763 +0000 +++ /tmp/cirrus-ci-build/src/test/recovery/tmp_check/results/btree_index.out 2024-08-20 18:01:39.560098182 +0000 @@ -166,11 +166,10 @@ (3 rows) select hundred, twenty from tenk1 where hundred < 48 order by hundred desc limit 1; - hundred | twenty ----------+-------- - 47 | 7 -(1 row) - +ERROR: deadlock detected +DETAIL: Process 49179 waits for AccessShareLock on relation 24294 of database 16384; blocked by process 49177. +Process 49177 waits for AccessExclusiveLock on relation 16418 of database 16384; blocked by process 49179. +HINT: See server log for query details. -- This variant of the query need only return a single tuple located to the immediate -- right of the '(48, -inf)' high key. It also only needs to scan one single -- leaf page (the right sibling of the page scanned by the last test case):