Re: Issue with Password Authentication for Pgpool - Mailing list pgsql-general

From vijay patil
Subject Re: Issue with Password Authentication for Pgpool
Date
Msg-id CAD5k+7z7ns134qsF7hrxGXqWKZ-GCPeZaTePx0FowH_GG55+_A@mail.gmail.com
Whole thread Raw
In response to Re: Issue with Password Authentication for Pgpool  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Issue with Password Authentication for Pgpool
Re: Issue with Password Authentication for Pgpool
List pgsql-general
If we plan to use pool_hba.conf, then we must use the pool_passwd file to maintain passwords for all database users. This approach requires that every time a new user is created, their password is added to the pool_passwd file. The challenge with this method is that it becomes difficult to maintain, as we need to manually update the pool_passwd file for every user creation or password change. Additionally, after updating the pool_passwd file, Pgpool needs to be restarted for the changes to take effect.

Thanks
Vijay

On Thu, Jan 9, 2025 at 11:14 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Wednesday, January 8, 2025, vijay patil <vijay.postgres@gmail.com> wrote:

This behavior might be related to how Pgpool handles authentication.


Having never used pgpool I very well could be wrong but from what I can gather what you want to do is simply not possible within the current design of pgpool.  Namely you have multiple nodes so cannot rely on raw mode but raw mode is required for the kind of pass-through auth you are trying.  Instead you require pool_hba.conf which itself requires the password file.

David J.

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Issue with Password Authentication for Pgpool
Next
From: "David G. Johnston"
Date:
Subject: Re: Issue with Password Authentication for Pgpool