Commit 24ac4c96 authored by Bruce Momjian's avatar Bruce Momjian

Document that to remove template1, datistemplate must be 'false'.

Backpatch to 8.2.
parent 552348c1
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.49 2006/11/05 22:42:07 tgl Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.50 2007/01/20 15:43:54 momjian Exp $ -->
<chapter id="managing-databases"> <chapter id="managing-databases">
<title>Managing Databases</title> <title>Managing Databases</title>
...@@ -257,7 +257,8 @@ createdb -T template0 <replaceable>dbname</> ...@@ -257,7 +257,8 @@ createdb -T template0 <replaceable>dbname</>
For example, one could drop <literal>template1</> and recreate it from For example, one could drop <literal>template1</> and recreate it from
<literal>template0</> without any ill effects. This course of action <literal>template0</> without any ill effects. This course of action
might be advisable if one has carelessly added a bunch of junk in might be advisable if one has carelessly added a bunch of junk in
<literal>template1</>. <literal>template1</>. (To delete <literal>template1</literal>,
it must have <literal>datistemplate = false</>.)
</para> </para>
<para> <para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment