mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Make node output prefix match node structure name
as done in e581360696
This commit is contained in:
parent
183c869e1c
commit
51e8179405
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue