pgsql: oauth: Disallow synchronous DNS in libcurl - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: oauth: Disallow synchronous DNS in libcurl
Date
Msg-id E1tukh7-003Cew-2Y@gemulon.postgresql.org
Whole thread Raw
List 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.champion@enterprisedb.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(-)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: oauth: Fix postcondition for set_timer on macOS
Next
From: Thomas Munro
Date:
Subject: pgsql: Fix compiler warning for commit 434dbf69.