Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb670b93

Browse files
committed
Fix an oversight in refactoring in06b10f8.
It was against intended skipping prechecking keys optimization in thefirst page of range queries to not influence point queries performance.Reported-by: Anton MelnikovDiscussion:https://postgr.es/m/30cd7524-b9f1-4cf8-9c4a-223eb2e34441%40postgrespro.ruAuthor: Pavel Borisov
1 parentd20d8fb commitb670b93

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)

[8]ページ先頭

©2009-2025 Movatter.jp