Re: documentation vs reality: template databases - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: documentation vs reality: template databases
Date
Msg-id 20070121205028.GC2668@alvh.no-ip.org
Whole thread Raw
In response to Re: documentation vs reality: template databases  (Bruce Momjian <bruce@momjian.us>)
Responses Re: documentation vs reality: template databases  (Bruce Momjian <bruce@momjian.us>)
List 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.

pgsql-general by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: [HACKERS] Autovacuum Improvements
Next
From: "Jim C. Nasby"
Date:
Subject: Re: Alter definition of a column