"-t template0" in createdb

From: Mike Thomsen <mikerthomsen(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: "-t template0" in createdb
Date: 2011-02-03 18:04:49
Message-ID: AANLkTim-R6ny4xbLZcSF+05psxErPH+tau+EhPRJtu0L@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2011-02-03 18:27:06 Re: "-t template0" in createdb
Previous Message Basil Bourque 2011-02-02 22:09:18 Make pgAdmin default "Not NULL" checkbox to ON