Rename value_type to item_type in ruleutils_15.c

Relevant PG commit:
3ab9a63cb638a1fd99475668e2da9c237495aeda
pg_15_iso_fix
naisila 2022-07-25 22:04:04 +03:00
parent 3e4f6ae315
commit ac029cd21a
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"); appendStringInfoString(context->buf, " IS JSON");
switch (pred->value_type) /* TODO: handle FORMAT clause */
switch (pred->item_type)
{ {
case JS_TYPE_SCALAR: case JS_TYPE_SCALAR:
appendStringInfoString(context->buf, " SCALAR"); appendStringInfoString(context->buf, " SCALAR");