mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Use WRITE_ENUM_FIELD for enum field
This commit is contained in:
parent
51e8179405
commit
e7cc4a6e3d
@ -1797,7 +1797,7 @@ _outJsonConstructorExpr(StringInfo str, const JsonConstructorExpr *node)
|
||||
WRITE_NODE_FIELD(args);
|
||||
WRITE_NODE_FIELD(func);
|
||||
WRITE_NODE_FIELD(coercion);
|
||||
WRITE_INT_FIELD(type);
|
||||
WRITE_ENUM_FIELD(type, JsonConstructorType);
|
||||
WRITE_NODE_FIELD(returning);
|
||||
WRITE_BOOL_FIELD(unique);
|
||||
WRITE_BOOL_FIELD(absent_on_null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user