8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e11d9 commit da4c916Copy full SHA for da4c916
src/nodes_common.c
@@ -174,7 +174,7 @@ build_parent_tlist(List *tlist, AppendRelInfo *appinfo)
174
elog(ERROR,
175
"table \"%s\" has no attribute %d of partition \"%s\"",
176
get_rel_name_or_relid(appinfo->parent_relid),
177
- tlist_var->varoattno,
+ tlist_var->varattno,
178
get_rel_name_or_relid(appinfo->child_relid));
179
}
180
@@ -232,7 +232,7 @@ append_part_attr_to_tlist(List *tlist,
232
TargetEntry *te = (TargetEntry *) lfirst(lc);
233
Var *var = (Var *) te->expr;
234
235
- if (IsA(var, Var) && var->varoattno == child_var->varattno)
+ if (IsA(var, Var) && var->varattno == child_var->varattno)
236
{
237
part_attr_found = true;
238
break;
0 commit comments