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

Commitda4c916

Browse files
committed
don't use 'varoattno' where possible
1 parent79e11d9 commitda4c916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/nodes_common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ build_parent_tlist(List *tlist, AppendRelInfo *appinfo)
174174
elog(ERROR,
175175
"table \"%s\" has no attribute %d of partition \"%s\"",
176176
get_rel_name_or_relid(appinfo->parent_relid),
177-
tlist_var->varoattno,
177+
tlist_var->varattno,
178178
get_rel_name_or_relid(appinfo->child_relid));
179179
}
180180

@@ -232,7 +232,7 @@ append_part_attr_to_tlist(List *tlist,
232232
TargetEntry*te= (TargetEntry*)lfirst(lc);
233233
Var*var= (Var*)te->expr;
234234

235-
if (IsA(var,Var)&&var->varoattno==child_var->varattno)
235+
if (IsA(var,Var)&&var->varattno==child_var->varattno)
236236
{
237237
part_attr_found= true;
238238
break;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp