Re: template0 - Mailing list pgsql-novice

From Tom Lane
Subject Re: template0
Date
Msg-id 12923.1076019682@sss.pgh.pa.us
Whole thread Raw
In response to template0  ("Marcel Wolf" <mwolfs@comcast.net>)
List pgsql-novice
"Marcel Wolf" <mwolfs@comcast.net> writes:
> How do I get the template0 to accept connections?

It's not supposed to.

> I can get template1
> to accept them. But then I have a problem with new databases inheriting
> tables from the first database.

The database used as the template is specified in your CREATE DATABASE
command.  It has nothing to do with which DB you are connected to.

            regards, tom lane

pgsql-novice by date:

Previous
From: "Marcel Wolf"
Date:
Subject: template0
Next
From: Josh Berkus
Date:
Subject: Re: template0