template Database

Started by R Talbotabout 24 years ago3 messagesgeneral
Jump to latest
#1R Talbot
rjtalbo@attglobal.net

Yeah, I am using template1..
I notice the error....
FATAL 1: Database "template0" is not currently accepting connections

only when using pgAdmin II not when using psql terminal..
The circumstance occurs when you first mouse click the Databases container. After the container is chosen it then has a plus sign next to it
and by clicking on the plus you can see the individual databases.
If at any time I click on the primary container (Databases) I will get the
above error as pgAdmin II attempts to open all datesbases including template0.

Anyone else using pgAdimin II experience this behavior..

Bob T

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: R Talbot (#1)
Re: template Database

"Bob T" <rjtalbo@attglobal.net> writes:

I notice the error....
FATAL 1: Database "template0" is not currently accepting connections

only when using pgAdmin II not when using psql terminal..
The circumstance occurs when you first mouse click the Databases container.=
After the container is chosen it then has a plus sign next to it
and by clicking on the plus you can see the individual databases.
If at any time I click on the primary container (Databases) I will get the
above error as pgAdmin II attempts to open all datesbases including templat=
e0.

This is evidently a bug in pgAdmin II --- it should ignore pg_database
entries that are marked not datallowconn.

regards, tom lane

#3Dave Page
dpage@pgadmin.org
In reply to: Tom Lane (#2)
Re: [INTERFACES] template Database

Tom Lane allegedly said:

"Bob T" <rjtalbo@attglobal.net> writes:

I notice the error....
FATAL 1: Database "template0" is not currently accepting connections

only when using pgAdmin II not when using psql terminal..
The circumstance occurs when you first mouse click the Databases
container.=
After the container is chosen it then has a plus sign next to it
and by clicking on the plus you can see the individual databases.
If at any time I click on the primary container (Databases) I will
get the
above error as pgAdmin II attempts to open all datesbases including
templat= e0.

This is evidently a bug in pgAdmin II --- it should ignore pg_database
entries that are marked not datallowconn.

The CVS code does as of earlier this afternoon. This code was originally
written with 7.0 when (iirc) the datallowconn column didn't exist.

Regards, Dave.