Fix an oversight in refactoring in 06b10f80ba4.

Alexander Korotkov <akorotkov@postgresql.org>

Commit: b670b93a66fc554714e0fe8e51a944912bb9fd68
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2024-03-22T13:25:53Z
Releases: 17.0
Fix an oversight in refactoring in 06b10f80ba4.

It was against intended skipping prechecking keys optimization in the
first page of range queries to not influence point queries performance.

Reported-by: Anton Melnikov
Discussion: https://postgr.es/m/30cd7524-b9f1-4cf8-9c4a-223eb2e34441%40postgrespro.ru
Author: Pavel Borisov

Files

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

Discussion