]> git.ipfire.org Git - thirdparty/postgresql.git/commit
libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE
authorJacob Champion <jchampion@postgresql.org>
Wed, 17 Jun 2026 16:57:20 +0000 (09:57 -0700)
committerJacob Champion <jchampion@postgresql.org>
Wed, 17 Jun 2026 17:20:03 +0000 (10:20 -0700)
commit357e4d64f871cccd57390581070c4239465c2eb5
tree9eac14cb9fab368e12f00408e5f17caf2b3245ab
parent1fb397f730b209edaff995f9cc411a5d8ed2d65f
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
src/interfaces/libpq-oauth/oauth-curl.c