diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-09-11 08:28:35 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-09-11 09:01:07 +0200 |
commit | 0785d1b8b2fa27074eeb18a3ac1f2a0e76cb8339 (patch) | |
tree | 188217f29a92589fe70b6fd5be57d2c7e3c9d3eb /src/backend/access/gist/gist.c | |
parent | 3beb945da9d72a9803180deb1752cf8feeb66883 (diff) | |
download | postgresql-0785d1b8b2fa27074eeb18a3ac1f2a0e76cb8339.tar.gz postgresql-0785d1b8b2fa27074eeb18a3ac1f2a0e76cb8339.zip |
common/jsonapi: support libpq as a client
Based on a patch by Michael Paquier.
For libpq, use PQExpBuffer instead of StringInfo. This requires us to
track allocation failures so that we can return JSON_OUT_OF_MEMORY as
needed rather than exit()ing.
Author: Jacob Champion <jacob.champion@enterprisedb.com>
Co-authored-by: Michael Paquier <michael@paquier.xyz>
Co-authored-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://www.postgresql.org/message-id/flat/d1b467a78e0e36ed85a09adf979d04cf124a9d4b.camel@vmware.com
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions