Re: template0 and template1 databases

From: "J(dot)H(dot)M(dot) Dassen (Ray)" <jdassen(at)cistron(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: template0 and template1 databases
Date: 2001-09-06 12:34:07
Message-ID: slrn9per9v.1g4.jdassen@odin.cistron-office.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrew Gould <andrewgould(at)yahoo(dot)com> wrote:
> I notice that template0 can't be vacuumed; and that template1 gets
> vacuumed but has "no relations" per \d.
>
> What do these databases do?

template0 is probably a leftover you got from importing a dump from an older
version of PostgreSQL. template1 is the "master" database from which new
databases are cloned; see
http://www.postgresql.org/idocs/index.php?managing-databases.html#MANAGE-AG-CREATEDB

HTH,
Ray
--
"a infinite number of monkeys typing into GNU emacs would never make a good
program"
.../linux/Documentation/CodingStyle

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Gould 2001-09-06 12:51:21 Re: template0 and template1 databases
Previous Message Andrew Gould 2001-09-06 12:20:14 template0 and template1 databases