mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 17:41:14 +03:00
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
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.
|
* 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
|
* There's no actually-matching data on this page. Try to advance to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user