Using the 'sudo -u postgres psql' command
psql -U my_group_worker -d my_group_db
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.
5432" failed: FATAL: Peer authentication failed for user "my_group_worker "*** What am I doing wrong?
postgres != my_group_worker and you haven’t setup an ident mapping to associate the two
David J.