Re: documentation vs reality: template databases

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: "Richard P(dot) Welty" <rwelty(at)averillpark(dot)net>, Postgresql <pgsql-general(at)postgresql(dot)org>
Subject: Re: documentation vs reality: template databases
Date: 2007-01-21 20:50:28
Message-ID: 20070121205028.GC2668@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian wrote:

> For example, one could drop <literal>template1</> and recreate it from
> <literal>template0</> without any ill effects. This course of action
> might be advisable if one has carelessly added a bunch of junk in
> ! <literal>template1</>. (To delete <literal>template1</literal>,
> ! it must have <literal>datistemplate = false</>.)
> </para>

I don't find this particularly clear -- how does the user know where to
set the "datistemplate" it refers to? I guess you should mention
pg_database, or be more explicit about what to do.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2007-01-21 21:03:53 Re: Alter definition of a column
Previous Message Jim C. Nasby 2007-01-21 20:26:25 Re: [HACKERS] Autovacuum Improvements