Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite7cc4a6

Browse files
committed
Use WRITE_ENUM_FIELD for enum field
1 parent51e8179 commite7cc4a6

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)

[8]ページ先頭

©2009-2025 Movatter.jp