Re: psql: FATAL: database "template1" is not currently accepting connections

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: stig erikson <stigerikson_nospam_(at)yahoo(dot)se>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql: FATAL: database "template1" is not currently accepting connections
Date: 2005-06-17 13:50:56
Message-ID: 20050617135056.GA73152@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 17, 2005 at 09:19:30AM +0200, stig erikson wrote:
>
> psql -l
> psql: FATAL: database "template1" is not currently accepting connections

Did somebody set datallowconn to false for template1? If you connect
to another database, what's the output of the following query?

SELECT datname, datallowconn FROM pg_database;

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Együd Csaba 2005-06-17 13:53:00 Re: Making the DB secure
Previous Message Jacob Atzen 2005-06-17 13:40:07 Re: Backing up multiple databases