mirror of https://github.com/citusdata/citus.git
Add missing deparsing of [NO] IDENT to XMLSERIALIZE()
984410b923263cac901fa81e0efbe523e9c36df3m3hm3t/pg18_dev_relation_oid_0
parent
85ffb3ff7d
commit
26fd672333
|
@ -6674,9 +6674,16 @@ get_rule_expr(Node *node, deparse_context *context,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (xexpr->op == IS_XMLSERIALIZE)
|
if (xexpr->op == IS_XMLSERIALIZE)
|
||||||
|
{
|
||||||
appendStringInfo(buf, " AS %s",
|
appendStringInfo(buf, " AS %s",
|
||||||
format_type_with_typemod(xexpr->type,
|
format_type_with_typemod(xexpr->type,
|
||||||
xexpr->typmod));
|
xexpr->typmod));
|
||||||
|
if (xexpr->indent)
|
||||||
|
appendStringInfoString(buf, " INDENT");
|
||||||
|
else
|
||||||
|
appendStringInfoString(buf, " NO INDENT");
|
||||||
|
}
|
||||||
|
|
||||||
if (xexpr->op == IS_DOCUMENT)
|
if (xexpr->op == IS_DOCUMENT)
|
||||||
appendStringInfoString(buf, " IS DOCUMENT");
|
appendStringInfoString(buf, " IS DOCUMENT");
|
||||||
else
|
else
|
||||||
|
@ -6874,7 +6881,7 @@ get_rule_expr(Node *node, deparse_context *context,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case T_ReturningExpr:
|
case T_ReturningExpr:
|
||||||
{
|
{
|
||||||
ReturningExpr *retExpr = (ReturningExpr *) node;
|
ReturningExpr *retExpr = (ReturningExpr *) node;
|
||||||
|
|
Loading…
Reference in New Issue