pgsql: oauth: Disallow synchronous DNS in libcurl

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: oauth: Disallow synchronous DNS in libcurl
Date: 2025-03-19 04:06:17
Message-ID: E1tukh7-003Cew-2Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)champion(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/p4bd7mn6dxr2zdak74abocyltpfdxif4pxqzixqpxpetjwt34h%40qc6jgfmoddvq

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d7e40845f923ed5091b334b1018a547e39846415

Modified Files
--------------
config/programs.m4 | 10 +++++-----
configure | 14 +++++---------
meson.build | 18 ++++++------------
3 files changed, 16 insertions(+), 26 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2025-03-19 04:27:35 pgsql: Fix compiler warning for commit 434dbf69.
Previous Message Thomas Munro 2025-03-19 03:46:08 pgsql: oauth: Fix postcondition for set_timer on macOS