I have started postmaster with -i, changed tcpip=true and edited my
pg_hba.conf file. The server accepts the connection, and if I enter the
wrong username and password authentication fails. The problem is that when
I use the correct username and password it pauses for about a minute and
then returns the 'database does not exist error'. It does it for all
databases, although they are listed unger psql -l