Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7747219

Browse files
committed
don't use varoattno in adjust_appendrel_varnos()
1 parent 26ed609 commit 7747219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/planner_tree_modification.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ adjust_appendrel_varnos(Node *node, adjust_appendrel_varnos_cxt *context)
605605
Var *var = (Var *) node;
606606

607607
/* Don't transform system columns & other relations' Vars */
608-
if (var->varoattno > 0 && var->varno == context->child_varno)
608+
if (var->varattno > 0 && var->varno == context->child_varno)
609609
{
610610
Var *child_var;
611611

0 commit comments

Comments
 (0)