]> git.ipfire.org Git - thirdparty/postgresql.git/commit
libpq-oauth: Use the PGoauthBearerRequestV2 API
authorJacob Champion <jchampion@postgresql.org>
Fri, 13 Mar 2026 16:37:59 +0000 (09:37 -0700)
committerJacob Champion <jchampion@postgresql.org>
Fri, 13 Mar 2026 16:37:59 +0000 (09:37 -0700)
commit6225403f2783dae16be57120618522d255bd6cc8
tree1c48cc6e095a56a92532bd730e6484a887ceaa9a
parentbe43c48c22cc8a4f55258e5230d23909e13c5efd
libpq-oauth: Use the PGoauthBearerRequestV2 API

Switch the private libpq-oauth ABI to a public one, based on the new
PGoauthBearerRequestV2 API. A huge amount of glue code can be removed as
part of this, and several code paths can be deduplicated. Additionally,
the shared library no longer needs to change its name for every major
release; it's now just "libpq-oauth.so".

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Discussion: https://postgr.es/m/CAOYmi%2BmrGg%2Bn_X2MOLgeWcj3v_M00gR8uz_D7mM8z%3DdX1JYVbg%40mail.gmail.com
src/interfaces/libpq-oauth/Makefile
src/interfaces/libpq-oauth/README
src/interfaces/libpq-oauth/exports.txt
src/interfaces/libpq-oauth/meson.build
src/interfaces/libpq-oauth/oauth-curl.c
src/interfaces/libpq-oauth/oauth-curl.h
src/interfaces/libpq-oauth/oauth-utils.c
src/interfaces/libpq-oauth/oauth-utils.h
src/interfaces/libpq/fe-auth-oauth.c
src/interfaces/libpq/fe-auth-oauth.h
src/tools/pgindent/typedefs.list