Content-Length: 285625 | pFad | http://github.com/postgrespro/postgres/commit/51e81794058e78a151368d0b652f3c92602568c0

13 Make node output prefix match node structure name · postgrespro/postgres@51e8179 · GitHub
Skip to content

Commit 51e8179

Browse files
committed
Make node output prefix match node structure name
as done in e581360
1 parent 183c869 commit 51e8179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ _outJsonValueExpr(StringInfo str, const JsonValueExpr *node)
17921792
static void
17931793
_outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
17941794
{
1795-
WRITE_NODE_TYPE("JSONCTOREXPR");
1795+
WRITE_NODE_TYPE("JSONCONSTRUCTOREXPR");
17961796

17971797
WRITE_NODE_FIELD(args);
17981798
WRITE_NODE_FIELD(func);

src/backend/nodes/readfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3217,7 +3217,7 @@ parseNodeString(void)
32173217
return_value = _readJsonReturning();
32183218
else if (MATCH("JSONVALUEEXPR", 13))
32193219
return_value = _readJsonValueExpr();
3220-
else if (MATCH("JSONCTOREXPR", 12))
3220+
else if (MATCH("JSONCONSTRUCTOREXPR", 19))
32213221
return_value = _readJsonConstructorExpr();
32223222
else if (MATCH("JSONISPREDICATE", 15))
32233223
return_value = _readJsonIsPredicate();

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/51e81794058e78a151368d0b652f3c92602568c0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy