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-02-27 19:42:52
Message-ID: CAOYmi+nnYr_Oe=KH2ZW6Ld88eZWv5P-s5ZtWOEh2KsPtMqOzbg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Feb 26, 2026 at 1:56 PM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> > And a few specific comments about the patches:
>
> Thank you for the review!

v4 should address that feedback. (The Valgrind work isn't part of it, yet.)

0001 should be ready to go. I meant to put 0002 up in its own thread
at the beginning of the week but got sidetracked, so I'll go do that
now. 0003 has to wait on Valgrind, and 0004-5 have to wait on 0002.

Thanks,
--Jacob

Attachment Content-Type Size
since-v3.diff.txt text/plain 9.1 KB
v4-0001-oauth-Report-cleanup-errors-as-warnings-on-stderr.patch application/octet-stream 2.8 KB
v4-0002-libpq-Add-PQgetThreadLock-to-mirror-PQregisterThr.patch application/octet-stream 3.2 KB
v4-0003-libpq-Introduce-PQAUTHDATA_OAUTH_BEARER_TOKEN_V2.patch application/octet-stream 24.5 KB
v4-0004-libpq-oauth-Use-the-PGoauthBearerRequestV2-API.patch application/octet-stream 43.5 KB
v4-0005-libpq-oauth-Never-link-against-libpq-s-encoding-f.patch application/octet-stream 3.2 KB
v4-0006-WIP-Introduce-third-party-OAuth-flow-plugins.patch application/octet-stream 38.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zsolt Parragi 2026-02-27 19:51:12 Re: Improve OAuth discovery logging
Previous Message 陈宗志 2026-02-27 19:26:38 Re: [PROPOSAL] Doublewrite Buffer as an alternative torn page protection to Full Page Write