mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
Fix an oversight in refactoring in 06b10f80ba
.
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
This commit is contained in:
parent
d20d8fbd3e
commit
b670b93a66
@ -2498,7 +2498,7 @@ _bt_endpoint(IndexScanDesc scan, ScanDirection dir)
|
||||
/*
|
||||
* Now load data from the first page of the scan.
|
||||
*/
|
||||
if (!_bt_readpage(scan, dir, start, false))
|
||||
if (!_bt_readpage(scan, dir, start, true))
|
||||
{
|
||||
/*
|
||||
* There's no actually-matching data on this page. Try to advance to
|
||||
|
Loading…
Reference in New Issue
Block a user