Content-Length: 259887 | pFad | http://github.com/postgrespro/postgres/commit/b670b93a66fc554714e0fe8e51a944912bb9fd68

85 Fix an oversight in refactoring in 06b10f80ba4. · postgrespro/postgres@b670b93 · GitHub
Skip to content

Commit b670b93

Browse files
committed
Fix an oversight in refactoring in 06b10f8.
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
1 parent d20d8fb commit b670b93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/nbtree/nbtsearch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2498,7 +2498,7 @@ _bt_endpoint(IndexScanDesc scan, ScanDirection dir)
24982498
/*
24992499
* Now load data from the first page of the scan.
25002500
*/
2501-
if (!_bt_readpage(scan, dir, start, false))
2501+
if (!_bt_readpage(scan, dir, start, true))
25022502
{
25032503
/*
25042504
* There's no actually-matching data on this page. Try to advance to

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b670b93a66fc554714e0fe8e51a944912bb9fd68

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy