agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Jacob Champion <jchampion@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
Date: Wed, 17 Jun 2026 20:55:58 +0000
Message-ID: <E1wZxIj-000lbO-33@gemulon.postgresql.org> (raw)

libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE

When debugging an OAuth trace, it's helpful to know what version of Curl
is in use. The SSL library that Curl is using (which may not be the one
in use by libpq) is also relevant, and it's just as easy to get, so
print that too.

This is being added post-feature-freeze, with RMT approval, in order to
fix some tests in the face of an upstream Curl regression. A subsequent
commit will make use of it in oauth_validator. Backpatch to 18 as well.

Tested-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAOYmi%2B%3DkP86t%2BZFFXNQ9G6K4ht7utdmB%3DCzhP%3DZ2wvuBymOTtQ%40mail.gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4bd477dcc61959b3299d091e6c7fc02b73c7afa5

Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1wZxIj-000lbO-33@gemulon.postgresql.org>
Permalink:  ../E1wZxIj-000lbO-33@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1wZxIj-000lbO-33@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jchampion@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
  In-Reply-To: <E1wZxIj-000lbO-33@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox