No sir, no problem. Thanks for the info
In my case, it was because I had scram-sha-256
and not trust
as the auth mechanism.
Because scram-sha-256
requires a physical user.
You can probably work around that by creating a user map in pg_ident.conf
but I’m not sure how.
If by “physical user” you mean “Unix system user” then no, scram-sha-256
does not require such a user configured on the system. The peer
method requires a system user, and trust
is just a terrible idea all around when you’re using a remote database server.
1 Like