Re: [PoC] Federated Authn/z with OAUTHBEARER - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [PoC] Federated Authn/z with OAUTHBEARER
Date
Msg-id dfybm6iyxcsq3kuwx2xpv2thjh2fwkuy4vxbzahb7ntrtuo3ex@gvg2zqsx3d5d
Whole thread Raw
In response to Re: [PoC] Federated Authn/z with OAUTHBEARER  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Hi,

On 2025-02-24 15:48:13 +0100, Daniel Gustafsson wrote:
> > On 24 Feb 2025, at 15:41, Andrew Dunstan <andrew@dunslane.net> wrote:
> 
> > I notice that 001_server.pl contains this:
> > 
> > if ($ENV{with_python} ne 'yes')
> > {
> >     plan skip_all => 'OAuth tests require --with-python to run';
> > }
> > 
> > and various other things that insist on this. But I think all we should need is for Python to be present, whether
ornot we are building plpython.
 
> 
> Agreed.  Right now the --with-python check is what runs PGAC_PATH_PYTHON but
> maybe there is value in separating this going forward into a) have python; b)
> have python and build plpython?

FWIW, For other things we need in tests, e.g. gzip, we don't actually use a
configure test.  I think we could do the same for the python commandline
binary.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Statistics Import and Export
Next
From: Bertrand Drouvot
Date:
Subject: Re: Fix assert failure when decoding XLOG_PARAMETER_CHANGE on primary