"Marcel Wolf" <mwolfs(at)comcast(dot)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