diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/btree_index.out /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/btree_index.out --- /tmp/cirrus-ci-build/src/test/regress/expected/btree_index.out 2024-09-06 13:46:22.385200027 +0000 +++ /tmp/cirrus-ci-build/src/bin/pg_upgrade/tmp_check/results/btree_index.out 2024-09-06 13:50:26.152109835 +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 31963 waits for AccessShareLock on relation 24363 of database 16387; blocked by process 31945. +Process 31945 waits for AccessExclusiveLock on relation 16421 of database 16387; blocked by process 31963. +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):