aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-17 23:56:15 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-03-17 23:56:15 +0100
commitd6607016c738a5ccdd9422f3c11778903a03cdbb (patch)
tree800670b2226a87ff6b4d82a4edf9c212172c95bf /src/tutorial/basics.source
parent33f13168ccd6e65bf0b3959a7e894449e8b6cb36 (diff)
downloadpostgresql-d6607016c738a5ccdd9422f3c11778903a03cdbb.tar.gz
postgresql-d6607016c738a5ccdd9422f3c11778903a03cdbb.zip
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
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions