On Fri, Dec 12, 2025 at 2:09 AM Álvaro Herrera <alvherre@kurilemu.de> wrote:
> No strong opinion on JSONAPI_USE_PQEXPBUFFER. As far as I can tell, we
> pretty much force you to link libpq if you want to have a PQExpBuffer,
> which tells me that a frontend jsonapi.c user would already be forced to
> link libpq.
Only the _shlib variant uses JSONAPI_USE_PQEXPBUFFER; the "main"
frontend version doesn't. (pg_combinebackup is an example of a
frontend JSON client that doesn't link against libpq, I think.)
> > For now, I'll proceed as if a backport to 18 is appropriate for these.
>
> Yeah, I'd prefer that.
Committed and backpatched. Thanks for the reviews, thanks everybody
for the thread, and thank you Hou-san for the patch!
--Jacob