Adjust overstrong nbtree skip array assertion.

Peter Geoghegan <pg@bowt.ie>

Commit: 9d924dbb37103b647c72a5252ad20770b8bae3a1
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2025-05-01T03:15:51Z
Releases: 18.0
Adjust overstrong nbtree skip array assertion.

Make an nbtree array preprocessing assertion account for scans that add
fewer skip arrays than initially expected due to preprocessing finding
an unsatisfiable array qual.

Oversight in commit 92fe23d9.

Author: Peter Geoghegan <pg@bowt.ie>
Reported-By: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://postgr.es/m/CAHgHdKtQMhHy5qcB3KqCcGiW-Rp8P7KzUFRa9ZMKUiv6zen7LQ@mail.gmail.com

Files

PathChange+/−
src/backend/access/nbtree/nbtpreprocesskeys.c modified +1 −1

Discussion