mirror of
https://github.com/postgres/postgres.git
synced 2025-08-19 23:22:23 +03:00
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
This commit is contained in:
@@ -56,6 +56,7 @@ OBJS_COMMON = \
|
||||
f2s.o \
|
||||
file_perm.o \
|
||||
ip.o \
|
||||
jsonapi.o \
|
||||
keywords.o \
|
||||
kwlookup.o \
|
||||
link-canary.o \
|
||||
|
1114
src/common/jsonapi.c
Normal file
1114
src/common/jsonapi.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user