From: Bruce Momjian <bruce@momjian.us>
Date: Sat, 20 Jan 2007 15:43:54 +0000 (+0000)
Subject: Document that to remove template1, datistemplate must be 'false'.
X-Git-Tag: REL8_3_BETA1~1487
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24ac4c968c413e2c762dba9596dd6009b02337a7;p=postgresql

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

diff --git a/doc/src/sgml/manage-ag.sgml b/doc/src/sgml/manage-ag.sgml
index e86cac91e4..1b13adc038 100644
--- a/doc/src/sgml/manage-ag.sgml
+++ b/doc/src/sgml/manage-ag.sgml
@@ -1,4 +1,4 @@
-<!-- $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">
  <title>Managing Databases</title>
@@ -257,7 +257,8 @@ createdb -T template0 <replaceable>dbname</>
     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</>.
+    <literal>template1</>. (To delete <literal>template1</literal>,
+    it must have <literal>datistemplate = false</>.)
    </para>
 
    <para>