diff options
author | Robert Haas | 2020-01-29 15:19:24 +0000 |
---|---|---|
committer | Robert Haas | 2020-01-29 15:22:51 +0000 |
commit | beb4699091e9fab1c5f465056bef35c9ddf7f9fc (patch) | |
tree | 49206e96c8840b42e6462cfed38302e03cd9130c /contrib/hstore | |
parent | dc788668bb269b10a108e87d14fefd1b9301b793 (diff) |
Move jsonapi.c and jsonapi.h to src/common.
To make this work, (1) makeJsonLexContextCstringLen now takes the
encoding to be used as an argument; (2) check_stack_depth() is made to
do nothing in frontend code, and (3) elog(ERROR, ...) is changed to
pg_log_fatal + exit in frontend code.
Mark Dilger, reviewed and slightly revised by me.
Discussion: http://postgr.es/m/CA+TgmoYfOXhd27MUDGioVh6QtpD0C1K-f6ObSA10AWiHBAL5bA@mail.gmail.com
Diffstat (limited to 'contrib/hstore')
-rw-r--r-- | contrib/hstore/hstore_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hstore/hstore_io.c b/contrib/hstore/hstore_io.c index 10ec392775e..f3174f29951 100644 --- a/contrib/hstore/hstore_io.c +++ b/contrib/hstore/hstore_io.c @@ -7,13 +7,13 @@ #include "access/htup_details.h" #include "catalog/pg_type.h" +#include "common/jsonapi.h" #include "funcapi.h" #include "hstore.h" #include "lib/stringinfo.h" #include "libpq/pqformat.h" #include "utils/builtins.h" #include "utils/json.h" -#include "utils/jsonapi.h" #include "utils/jsonb.h" #include "utils/lsyscache.h" #include "utils/memutils.h" |