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