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

Commitaa9dd8f

Browse files
committed
Add comment in get_part_expression_info
1 parentfb85322 commitaa9dd8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/partition_creation.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1840,6 +1840,7 @@ get_part_expression_info(Oid relid, const char *expr_string,
18401840
/* Plan this query. We reuse 'expr_node' here */
18411841
plan=pg_plan_query(query,0,NULL);
18421842
if (IsA(plan->planTree,IndexOnlyScan))
1843+
/* we get IndexOnlyScan in targetlist if expression is primary key */
18431844
target_entry=linitial(((IndexOnlyScan*)plan->planTree)->indextlist);
18441845
else
18451846
target_entry=linitial(plan->planTree->targetlist);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp