postgresql/src/backend/tsearch
Robert Haas ce0425b162 Adjust src/include/utils/jsonapi.h so it's not backend-only.
The major change here is that we no longer include jsonb.h into
jsonapi.h. The reason that was necessary is that jsonapi.h included
several prototypes functions in jsonfuncs.c that depend on the Jsonb
type. Move those prototypes to a new header, jsonfuncs.h, and include
it where needed.

The other change is that JsonEncodeDateTime is now declared in
json.h rather than jsonapi.h.

Taken together, these steps eliminate all dependencies of jsonapi.h
on backend-only data types and header files, so that it can
potentially be included in frontend code.
2020-01-24 09:58:37 -08:00
..
dicts Update copyright for 2019 2019-01-02 12:44:25 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dict.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dict_ispell.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dict_simple.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dict_synonym.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
dict_thesaurus.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
regis.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
spell.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
to_tsany.c Adjust src/include/utils/jsonapi.h so it's not backend-only. 2020-01-24 09:58:37 -08:00
ts_locale.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ts_parse.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ts_selfuncs.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ts_typanalyze.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
ts_utils.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
wparser.c Adjust src/include/utils/jsonapi.h so it's not backend-only. 2020-01-24 09:58:37 -08:00
wparser_def.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00