Re: psql -l - Mailing list pgsql-general

From Bruce Momjian
Subject Re: psql -l
Date
Msg-id 200107172125.f6HLPup11802@candle.pha.pa.us
Whole thread Raw
In response to Re: psql -l  (Tom Lane <tgl@sss.pgh.pa.us>)
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".

Ewe, I never realized the problems with disabling template1
connections.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-general by date:

Previous
From: will trillich
Date:
Subject: Re: editor with syntax-highlighting for PL/PGSQL
Next
From: "Dr. Evil"
Date:
Subject: PG rules!