Tommi =?iso-8859-15?q?M=E4kitalo?= <t(dot)maekitalo(at)epgmbh(dot)de> writes:
> psql: FATAL: no pg_hba.conf entry for host "::ffff:127.0.0.1", user
> "postgres", database "template1"
What platform is this?
It sounds to me like your system is resolving "localhost" as an IPv6
address ...
regards, tom lane