Re: psql -l - Mailing list pgsql-general

From Tom Lane
Subject Re: psql -l
Date
Msg-id 26349.995402069@sss.pgh.pa.us
Whole thread Raw
In response to psql -l  (will trillich <will@serensoft.com>)
Responses Re: psql -l
Re: psql -l
List pgsql-general
will trillich <will@serensoft.com> writes:
> in the old days (7.0.3) i could list databases via
>     psql -l
> but these days (7.1) i must
>     psql -l [-d] nameOfADatabaseFromPreordainedKnowledge
> probably because of some fuxnored setting. but which?

Sounds like you've got pg_hba.conf set to disallow connections to
template1, which is what psql tries to connect to when executing
a plain "psql -l".

            regards, tom lane

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql -l
Next
From: will trillich
Date:
Subject: Re: bit operations