diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-12-11 11:55:34 +0100 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-12-11 11:55:34 +0100 |
commit | d3fe6e90bab52b8cbf085cfad5e4da110a2cd373 (patch) | |
tree | 419610e166077571ec73e3a846e31d0b80d3b7db /src/include/nodes/makefuncs.h | |
parent | c7a3e6b46d38f880f42642df003796b9bf99c1a8 (diff) |
Simplify productions for FORMAT JSON [ ENCODING name ]
This removes the production json_encoding_clause_opt, instead merging
it into json_format_clause. Also remove the auxiliary
makeJsonEncoding() function.
Reviewed-by: Amit Langote <amitlangote09@gmail.com>
Discussion: https://postgr.es/m/202312071841.u2gueb5dsrbk%40alvherre.pgsql
Diffstat (limited to 'src/include/nodes/makefuncs.h')
-rw-r--r-- | src/include/nodes/makefuncs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/nodes/makefuncs.h b/src/include/nodes/makefuncs.h index 31807030055..aca0ee54dfa 100644 --- a/src/include/nodes/makefuncs.h +++ b/src/include/nodes/makefuncs.h @@ -116,6 +116,5 @@ extern Node *makeJsonKeyValue(Node *key, Node *value); extern Node *makeJsonIsPredicate(Node *expr, JsonFormat *format, JsonValueType item_type, bool unique_keys, int location); -extern JsonEncoding makeJsonEncoding(char *name); #endif /* MAKEFUNC_H */ |