mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Make node output prefix match node structure name
as done in e581360696
This commit is contained in:
@ -1792,7 +1792,7 @@ _outJsonValueExpr(StringInfo str, const JsonValueExpr *node)
|
|||||||
static void
|
static void
|
||||||
_outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
|
_outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
|
||||||
{
|
{
|
||||||
WRITE_NODE_TYPE("JSONCTOREXPR");
|
WRITE_NODE_TYPE("JSONCONSTRUCTOREXPR");
|
||||||
|
|
||||||
WRITE_NODE_FIELD(args);
|
WRITE_NODE_FIELD(args);
|
||||||
WRITE_NODE_FIELD(func);
|
WRITE_NODE_FIELD(func);
|
||||||
|
@ -3217,7 +3217,7 @@ parseNodeString(void)
|
|||||||
return_value = _readJsonReturning();
|
return_value = _readJsonReturning();
|
||||||
else if (MATCH("JSONVALUEEXPR", 13))
|
else if (MATCH("JSONVALUEEXPR", 13))
|
||||||
return_value = _readJsonValueExpr();
|
return_value = _readJsonValueExpr();
|
||||||
else if (MATCH("JSONCTOREXPR", 12))
|
else if (MATCH("JSONCONSTRUCTOREXPR", 19))
|
||||||
return_value = _readJsonConstructorExpr();
|
return_value = _readJsonConstructorExpr();
|
||||||
else if (MATCH("JSONISPREDICATE", 15))
|
else if (MATCH("JSONISPREDICATE", 15))
|
||||||
return_value = _readJsonIsPredicate();
|
return_value = _readJsonIsPredicate();
|
||||||
|
Reference in New Issue
Block a user