mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
Document that to remove template1, datistemplate must be 'false'.
Backpatch to 8.2.
This commit is contained in:
parent
09f4894154
commit
55391ab6a7
@ -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.49.2.1 2007/01/20 15:43:58 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user