postgresql/src/bin/pg_verifybackup
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
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Support json_errdetail in FRONTEND code 2024-03-17 23:56:15 +01:00
.gitignore Rename pg_validatebackup to pg_verifybackup. 2020-04-12 11:26:05 -04:00
Makefile Move src/bin/pg_verifybackup/parse_manifest.c into src/common. 2023-12-19 15:24:31 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Move src/bin/pg_verifybackup/parse_manifest.c into src/common. 2023-12-19 15:24:31 -05:00
pg_verifybackup.c Add the system identifier to backup manifests. 2024-03-13 15:12:33 -04:00