"Graham Vickrage" <graham@digitalplanit.com> writes:
> After trying the usual command %psql dbname to connect I keep getting the
> message
> No pg_hba.conf entry for host localhost, user postgres, database dbname
Looks to me like you're trying to connect via Unix-socket. Try
specifying PGHOST=localhost at the client.
regards, tom lane