Re: Function problem - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Function problem
Date
Msg-id 0afce79b7fa0061e5f07199f88dd7f052c6eab81.camel@cybertec.at
Whole thread Raw
In response to Function problem  (Domen Šetar <domen.setar@izum.si>)
List pgsql-admin
On Tue, 2024-08-13 at 09:56 +0000, Domen Šetar wrote:
> I’m using pgbouncer in my postgresql installation. For authorization purposese I use function
> public.lookup (https://www.cybertec-postgresql.com/en/pgbouncer-authentication-made-easy/)
> which is defined for each database. Since we upgraded postgresql from V14 to V16 I have
> problems when migrating database from one instance to another:  authentication doesn’t work.
> I have to drop function and define it again on database to make authentication work.  Any idea why ?

I guess that my article is at fault.  It still refers to "md5" authentication rather than
"scram-sha-256", which has been the password authenticatoin method of choice for years now.

I have updated my article.

Yours,
Laurenz Albe



pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: LIsten Errror
Next
From: Wim Bertels
Date:
Subject: Re: Unexpected authentication behaviour