"-t template0" in createdb - Mailing list pgsql-novice

From Mike Thomsen
Subject "-t template0" in createdb
Date
Msg-id AANLkTim-R6ny4xbLZcSF+05psxErPH+tau+EhPRJtu0L@mail.gmail.com
Whole thread Raw
Responses Re: "-t template0" in createdb
List pgsql-novice
I while ago, I reported that grant statements were always returning an
error stating that the database could no be found.

Today I noticed that it seemed to be caused only when the database was
created like this:

createdb newdb -U postgres -t template0

The installation instructions we got for an inhouse project called for
the "-t template0" When removed, that consistently caused the
aforementioned bug to stop.

What was it about that "-t template0" that was causing it to fail?

Thanks,

Mike

pgsql-novice by date:

Previous
From: Basil Bourque
Date:
Subject: Make pgAdmin default "Not NULL" checkbox to ON
Next
From: Tom Lane
Date:
Subject: Re: "-t template0" in createdb