Rename value_type to item_type in ruleutils_15.c

Relevant PG commit:
3ab9a63cb638a1fd99475668e2da9c237495aeda
version-15-socket
naisila 2022-07-25 22:04:04 +03:00
parent f59f4f4d2d
commit 2e1ecc9aef
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");