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

Commit45e88b5

Browse files
committed
Enable partial sort optimization for any index scan
1 parent22f0ac2 commit45e88b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/optimizer/path/pathkeys.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ get_cheapest_partial_path_for_pathkeys(List *paths,
443443
{
444444
Path*path= (Path*)lfirst(l);
445445
intprefix_len=pathkeys_get_prefix(pathkeys,path->pathkeys);
446-
if (prefix_len<best_prefix_len||path->pathtype!=T_IndexOnlyScan) {
446+
if (prefix_len<best_prefix_len) {
447447
continue;
448448
}
449449
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp