mirror of https://github.com/citusdata/citus.git
Adds JOIN ... USING alias to ruleutils_14.c
Relevant PG commit: 055fee7eb4dcc78e58672aef146334275e1cc40dpull/5209/head
parent
c3f0528607
commit
f557bae64c
|
@ -7703,6 +7703,10 @@ get_from_clause_item(Node *jtnode, Query *query, deparse_context *context)
|
||||||
appendStringInfoString(buf, quote_identifier(colname));
|
appendStringInfoString(buf, quote_identifier(colname));
|
||||||
}
|
}
|
||||||
appendStringInfoChar(buf, ')');
|
appendStringInfoChar(buf, ')');
|
||||||
|
|
||||||
|
if (j->join_using_alias)
|
||||||
|
appendStringInfo(buf, " AS %s",
|
||||||
|
quote_identifier(j->join_using_alias->aliasname));
|
||||||
}
|
}
|
||||||
else if (j->quals)
|
else if (j->quals)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue