Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Subject: Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
Date: 2026-03-10 16:32:30
Message-ID: CAOYmi+=Pr7AAdkcKXyLw3ycxcrjGKsOV2CTYVV2PKYQw9ecG0Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 6, 2026 at 4:27 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> I'll cherry-pick some of the -1 handling backwards in the patchset to
> handle this.

Done in v7-0001. Some of the improvements in the WIP patch were also
cherry-picked, and I fixed a stray comment bug. -0001 and -0002 are
next up for commit.

-0003 fills out the commit message and should be generally reviewable
now. -0004 adds the ability to LD_LIBRARY_PATH your way into flow
plugin development for the v20 cycle. -0005 becomes pretty much
useless other than for testing (and it should possible to adapt those
tests to -0004's implementation at some point).

Thanks,
--Jacob

Attachment Content-Type Size
since-v6.diff.txt text/plain 13.8 KB
v7-0001-libpq-oauth-Use-the-PGoauthBearerRequestV2-API.patch application/octet-stream 44.4 KB
v7-0002-libpq-oauth-Never-link-against-libpq-s-encoding-f.patch application/octet-stream 3.2 KB
v7-0003-libpq-Poison-the-v2-part-of-a-v1-Bearer-request.patch application/octet-stream 7.0 KB
v7-0004-libpq-Allow-developers-to-reimplement-libpq-oauth.patch application/octet-stream 4.8 KB
v7-0005-WIP-Introduce-third-party-OAuth-flow-plugins.patch application/octet-stream 36.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul A Jungwirth 2026-03-10 16:33:18 Re: domain for WITHOUT OVERLAPS
Previous Message Paul A Jungwirth 2026-03-10 16:31:58 Re: domain for WITHOUT OVERLAPS