postgresql/src/include/common
Daniel Gustafsson d6607016c7 Support json_errdetail in FRONTEND code
Allocate memory for the error message inside memory owned by the
JsonLexContext and move responsibility away from the caller for
freeing it.  This means that we can partially revert b44669b2ca
as this is now safe to use in FRONTEND code.  The motivation for
this comes from the OAuth and incremental JSON patchsets but it
also adds value on its own.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAOYmi+mWdTd6ujtyF7MsvXvk7ToLRVG_tYAcaGbQLvf=N4KrQw@mail.gmail.com
2024-03-17 23:56:15 +01:00
..
archive.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
base64.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
blkreftable.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
checksum_helper.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
compression.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
config_info.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
connect.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
controldata_utils.h Expose new function get_controlfile_by_exact_path(). 2024-03-13 12:06:44 -04:00
cryptohash.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
fe_memutils.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
file_perm.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
file_utils.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
hashfn.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
hashfn_unstable.h Fix warnings in cpluspluscheck 2024-02-08 10:07:26 +07:00
hmac.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
int.h Introduce overflow-safe integer comparison functions. 2024-02-16 13:37:02 -06:00
int128.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
ip.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
jsonapi.h Support json_errdetail in FRONTEND code 2024-03-17 23:56:15 +01:00
keywords.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
kwlookup.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
link-canary.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
logging.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
md5.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
openssl.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
parse_manifest.h Add the system identifier to backup manifests. 2024-03-13 15:12:33 -04:00
percentrepl.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_lzcompress.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
pg_prng.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
relpath.h Replace BackendIds with 0-based ProcNumbers 2024-03-03 19:38:22 +02:00
restricted_token.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
saslprep.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
scram-common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sha1.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sha2.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
shortest_dec.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
string.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
unicode_case.h Fix type signedness error in commit 5c40364dd6. 2024-03-08 16:00:46 -08:00
unicode_case_table.h Unicode case mapping tables and functions. 2024-03-07 11:15:06 -08:00
unicode_category.h Add Unicode property tables. 2024-03-06 12:50:01 -08:00
unicode_category_table.h Add Unicode property tables. 2024-03-06 12:50:01 -08:00
unicode_east_asian_fw_table.h Update Unicode data to Unicode 15.1.0 2023-09-18 07:26:34 +02:00
unicode_nonspacing_table.h Update Unicode data to Unicode 15.0.0 2022-09-19 18:30:05 -04:00
unicode_norm.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
unicode_norm_hashfunc.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
unicode_norm_table.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
unicode_normprops_table.h Update Unicode data to Unicode 15.0.0 2022-09-19 18:30:05 -04:00
unicode_version.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
username.h Update copyright for 2024 2024-01-03 20:49:05 -05:00