Re: [PoC] Federated Authn/z with OAUTHBEARER

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Antonin Houska <ah(at)cybertec(dot)at>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER
Date: 2025-02-28 23:38:37
Message-ID: CA+hUKGJ4ciMth5=0sT-+ajiBOqjWJHxfed4MYbs_qatN90652Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 1, 2025 at 6:37 AM Jacob Champion
<jacob(dot)champion(at)enterprisedb(dot)com> wrote:
> Should we maybe consider just doing that across the board, and put up
> with the inefficiency? Admittedly 1ms is a lot more dead time than
> 1ns...

Last time I checked, NetBSD is still using scheduler ticks (100hz
periodic interrupt) for all this kind of stuff so it's even worse than
that :-)

> I prefer your patch, personally.

Cool, I'll commit it shortly unless someone else comes up with a better idea.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2025-03-01 00:05:43 Add assertion for failed alloc to palloc0() and palloc_extended()
Previous Message Sami Imseih 2025-02-28 23:18:29 Re: Should work_mem be stable for a prepared statement?