pgsql: oauth: Skip call-count test for libcurl 8.20.0

From: Jacob Champion <jchampion(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: oauth: Skip call-count test for libcurl 8.20.0
Date: 2026-06-17 20:55:58
Message-ID: E1wZxIj-000lbQ-36@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

oauth: Skip call-count test for libcurl 8.20.0

The call-count test in 001_server.pl runs into a recent upstream
regression in Curl:

https://github.com/curl/curl/issues/21547

The symptom is high CPU usage on some platforms during OAuth HTTP
requests. But it looks like the fix is on track for a June 2026 release,
as part of Curl 8.21.0, so just skip the test if we happen to be using
the broken version.

Reported-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Reported-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Tested-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/CAOYmi%2B%3DyrwMSsHuNJ1V14isA4iSix5Xb3P3VEp1X0BS61MdV4A%40mail.gmail.com
Backpatch-through: 18

Branch
------
master

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

Modified Files
--------------
src/test/modules/oauth_validator/t/001_server.pl | 28 ++++++++++++++++--------
1 file changed, 19 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-06-17 22:52:26 pgsql: Avoid errors during ALTER SUBSCRIPTION.
Previous Message Tom Lane 2026-06-17 15:04:56 pgsql: jsonb_plperl, jsonb_plpython: Fix unguarded recursion and loops.