psql: FATAL: Peer authentication failed for user
The order of rules in pg_hba.conf matters. Trying to connect to postgresql database with a standard user fails with psql: FATAL: Peer authentication failed fr user "user1". The second line of pg_hba.conf makes your connection attempt fail: local al...
Jan 4, 20231 min read2
