Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b670b93

Browse filesBrowse 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
Copy full SHA for b670b93

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtsearch.c

Copy file name to clipboardExpand all lines: src/backend/access/nbtree/nbtsearch.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.