mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 01:11:50 +02:00
Remove JsonPathSpec typedef
It doesn't seem very useful, and it's a bit in the way of the planned node support automation. Discussion: https://www.postgresql.org/message-id/202204191140.3wsbevfhqmu3@alvherre.pgsql
This commit is contained in:
parent
d47a11da9e
commit
dc2be6ed47
@ -73,7 +73,7 @@ transformJsonTableColumn(JsonTableColumn *jtc, Node *contextItemExpr,
|
||||
JsonFuncExpr *jfexpr = makeNode(JsonFuncExpr);
|
||||
JsonCommon *common = makeNode(JsonCommon);
|
||||
JsonOutput *output = makeNode(JsonOutput);
|
||||
JsonPathSpec pathspec;
|
||||
char *pathspec;
|
||||
JsonFormat *default_format;
|
||||
|
||||
jfexpr->op =
|
||||
|
@ -1619,12 +1619,6 @@ typedef enum JsonTableColumnType
|
||||
JTC_NESTED,
|
||||
} JsonTableColumnType;
|
||||
|
||||
/*
|
||||
* JsonPathSpec -
|
||||
* representation of JSON path constant
|
||||
*/
|
||||
typedef char *JsonPathSpec;
|
||||
|
||||
/*
|
||||
* JsonOutput -
|
||||
* representation of JSON output clause (RETURNING type [FORMAT format])
|
||||
@ -1688,7 +1682,7 @@ typedef struct JsonTableColumn
|
||||
JsonTableColumnType coltype; /* column type */
|
||||
char *name; /* column name */
|
||||
TypeName *typeName; /* column type name */
|
||||
JsonPathSpec pathspec; /* path specification, if any */
|
||||
char *pathspec; /* path specification, if any */
|
||||
char *pathname; /* path name, if any */
|
||||
JsonFormat *format; /* JSON format clause, if specified */
|
||||
JsonWrapper wrapper; /* WRAPPER behavior for formatted columns */
|
||||
|
Loading…
Reference in New Issue
Block a user