agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
2+ messages / 1 participants
[nested] [flat]

* pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
@ 2026-06-17 20:55 Jacob Champion <jchampion@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jacob Champion @ 2026-06-17 20:55 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
@ 2026-06-17 20:55 Jacob Champion <jchampion@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Jacob Champion @ 2026-06-17 20:55 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/357e4d64f871cccd57390581070c4239465c2eb5

Modified Files
--------------
src/interfaces/libpq-oauth/oauth-curl.c | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-06-17 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-06-17 20:55 pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE Jacob Champion <jchampion@postgresql.org>
2026-06-17 20:55 pgsql: libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE Jacob Champion <jchampion@postgresql.org>

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