Rename value_type to item_type in ruleutils_15.c

Relevant PG commit:
3ab9a63cb638a1fd99475668e2da9c237495aeda
boolean_node
naisila 2022-07-25 22:04:04 +03:00
parent 691388476d
commit 2c90778170
1 changed files with 3 additions and 1 deletions

View File

@ -6471,7 +6471,9 @@ get_rule_expr(Node *node, deparse_context *context,
appendStringInfoString(context->buf, " IS JSON");
switch (pred->value_type)
/* TODO: handle FORMAT clause */
switch (pred->item_type)
{
case JS_TYPE_SCALAR:
appendStringInfoString(context->buf, " SCALAR");