oauth: Disallow synchronous DNS in libcurl

Thomas Munro <tmunro@postgresql.org>

Commit: d7e40845f923ed5091b334b1018a547e39846415
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2025-03-19T03:56:19Z
Releases: 18.0
oauth: Disallow synchronous DNS in libcurl

There is concern that a blocking DNS lookup in libpq could stall a
backend process (say, via FDW). Since there's currently no strong
evidence that synchronous DNS is a popular option, disallow it entirely
rather than warning at configure time. We can revisit if anyone
complains.

Per query from Andres Freund.

Author: Jacob Champion <jacob.champion@enterprisedb.com>
Discussion: https://postgr.es/m/p4bd7mn6dxr2zdak74abocyltpfdxif4pxqzixqpxpetjwt34h%40qc6jgfmoddvq

Files

PathChange+/−
config/programs.m4 modified +5 −5
configure modified +5 −9
meson.build modified +6 −12

Discussion