...
- To allow localhost connections to all databases from any user without password authentication, edit your pg_hba.conf file to include these entries.
- local all all trust (unix installs only)
- host all 127.0.0.1/32 trust
- host all all ::1/128 trust (windows only - ipv6 section)
- Comment IDENT-based authentication
- Otherwise, the following error message will be popped up: "psql: FATAL: Ident authentication failed for user "[userid]" "
...