mirror of https://github.com/citusdata/citus.git
Quote identifier for XMLTABLE() alias in get_xmltable function
parent
0d4e116d82
commit
9525f458d7
|
@ -8673,7 +8673,7 @@ get_xmltable(TableFunc *tf, deparse_context *context, bool showimplicit)
|
|||
if (name != NULL)
|
||||
{
|
||||
get_rule_expr(expr, context, showimplicit);
|
||||
appendStringInfo(buf, " AS %s", name);
|
||||
appendStringInfo(buf, " AS %s", quote_identifier(name));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue