Skip to content

Commit 24ac4c9

Browse files
committed
Document that to remove template1, datistemplate must be 'false'.
Backpatch to 8.2.
1 parent 552348c commit 24ac4c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/manage-ag.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.49 2006/11/05 22:42:07 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/manage-ag.sgml,v 2.50 2007/01/20 15:43:54 momjian Exp $ -->
22

33
<chapter id="managing-databases">
44
<title>Managing Databases</title>
@@ -257,7 +257,8 @@ createdb -T template0 <replaceable>dbname</>
257257
For example, one could drop <literal>template1</> and recreate it from
258258
<literal>template0</> without any ill effects. This course of action
259259
might be advisable if one has carelessly added a bunch of junk in
260-
<literal>template1</>.
260+
<literal>template1</>. (To delete <literal>template1</literal>,
261+
it must have <literal>datistemplate = false</>.)
261262
</para>
262263

263264
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy