New answers tagged

1 vote

What does psql do on connect (that could be taking 1 to 10 minutes)?

So psql was a bit of a red herring... it was mostly this: ~10k in pg_roles And the fact that the connecting user connecting was GRANTed many of these roles, which were themselves each granted many ...
Michal Charemza's user avatar
0 votes

psql, I try to connect to a database and I get "psql: FATAL: Peer authentication failed for user ", why?

If you encounter the error: psql: error: FATAL: Peer authentication failed for user "davide3", you will need to allow the new SQL user to be authenticated. To add the Client Authentication ...
Thomas's user avatar
  • 1

Top 50 recent answers are included