Fix reverse compilation of IS DOCUMENT expression.
This commit is contained in:
parent
a62e2c2b57
commit
cb8906b354
@ -2,7 +2,7 @@
|
|||||||
* ruleutils.c - Functions to convert stored expressions/querytrees
|
* ruleutils.c - Functions to convert stored expressions/querytrees
|
||||||
* back to source text
|
* back to source text
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/ruleutils.c,v 1.242 2007/01/14 13:11:54 petere Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/ruleutils.c,v 1.243 2007/01/14 21:39:24 petere Exp $
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
@ -3890,7 +3890,6 @@ get_rule_expr(Node *node, deparse_context *context,
|
|||||||
case IS_XMLELEMENT:
|
case IS_XMLELEMENT:
|
||||||
case IS_XMLFOREST:
|
case IS_XMLFOREST:
|
||||||
case IS_XMLPI:
|
case IS_XMLPI:
|
||||||
case IS_DOCUMENT:
|
|
||||||
/* no extra decoration needed */
|
/* no extra decoration needed */
|
||||||
get_rule_expr((Node *) xexpr->args, context, true);
|
get_rule_expr((Node *) xexpr->args, context, true);
|
||||||
break;
|
break;
|
||||||
@ -3943,6 +3942,9 @@ get_rule_expr(Node *node, deparse_context *context,
|
|||||||
appendStringInfoString(buf,
|
appendStringInfoString(buf,
|
||||||
", STANDALONE NO");
|
", STANDALONE NO");
|
||||||
break;
|
break;
|
||||||
|
case IS_DOCUMENT:
|
||||||
|
get_rule_expr_paren((Node *) xexpr->args, context, false, node);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user