Make node output prefix match node structure name
as done in e58136069687b9cf29c27281e227ac397d72141d
This commit is contained in:
parent
183c869e1c
commit
51e8179405
@ -1792,7 +1792,7 @@ _outJsonValueExpr(StringInfo str, const JsonValueExpr *node)
|
||||
static void
|
||||
_outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
|
||||
{
|
||||
WRITE_NODE_TYPE("JSONCTOREXPR");
|
||||
WRITE_NODE_TYPE("JSONCONSTRUCTOREXPR");
|
||||
|
||||
WRITE_NODE_FIELD(args);
|
||||
WRITE_NODE_FIELD(func);
|
||||
|
@ -3217,7 +3217,7 @@ parseNodeString(void)
|
||||
return_value = _readJsonReturning();
|
||||
else if (MATCH("JSONVALUEEXPR", 13))
|
||||
return_value = _readJsonValueExpr();
|
||||
else if (MATCH("JSONCTOREXPR", 12))
|
||||
else if (MATCH("JSONCONSTRUCTOREXPR", 19))
|
||||
return_value = _readJsonConstructorExpr();
|
||||
else if (MATCH("JSONISPREDICATE", 15))
|
||||
return_value = _readJsonIsPredicate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user