JsonFuncExpr *jfexpr = makeNode(JsonFuncExpr);
JsonCommon *common = makeNode(JsonCommon);
JsonOutput *output = makeNode(JsonOutput);
- JsonPathSpec pathspec;
+ char *pathspec;
JsonFormat *default_format;
jfexpr->op =
JTC_NESTED,
} JsonTableColumnType;
-/*
- * JsonPathSpec -
- * representation of JSON path constant
- */
-typedef char *JsonPathSpec;
-
/*
* JsonOutput -
* representation of JSON output clause (RETURNING type [FORMAT format])
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 */