Content-Length: 257335 | pFad | http://github.com/postgrespro/postgres/commit/e7cc4a6e3dcc39f3643f998aa5da6a6f27f28db5

62 Use WRITE_ENUM_FIELD for enum field · postgrespro/postgres@e7cc4a6 · GitHub
Skip to content

Commit e7cc4a6

Browse files
committed
Use WRITE_ENUM_FIELD for enum field
1 parent 51e8179 commit e7cc4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ _outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
17971797
WRITE_NODE_FIELD(args);
17981798
WRITE_NODE_FIELD(func);
17991799
WRITE_NODE_FIELD(coercion);
1800-
WRITE_INT_FIELD(type);
1800+
WRITE_ENUM_FIELD(type, JsonConstructorType);
18011801
WRITE_NODE_FIELD(returning);
18021802
WRITE_BOOL_FIELD(unique);
18031803
WRITE_BOOL_FIELD(absent_on_null);

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/e7cc4a6e3dcc39f3643f998aa5da6a6f27f28db5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy