File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -199,11 +199,12 @@ createdb -O <replaceable>rolename</replaceable> <replaceable>dbname</replaceable
199199 should never be changed after the database cluster has been
200200 initialized. By instructing
201201 <command>CREATE DATABASE</command> to copy <literal>template0</literal> instead
202- of <literal>template1</literal>, you can create a <quote>virgin</quote> user
203- database that contains none of the site-local additions in
202+ of <literal>template1</literal>, you can create a <quote>pristine</quote> user
203+ database (one where no user-defined objects exist and where the system
204+ objects have not been altered) that contains none of the site-local additions in
204205 <literal>template1</literal>. This is particularly handy when restoring a
205206 <literal>pg_dump</literal> dump: the dump script should be restored in a
206- virgin database to ensure that one recreates the correct contents
207+ pristine database to ensure that one recreates the correct contents
207208 of the dumped database, without conflicting with objects that
208209 might have been added to <literal>template1</literal> later on.
209210 </para>
Original file line number Diff line number Diff line change @@ -54,8 +54,10 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
5454 system database <literal>template1</literal>. A different template can be
5555 specified by writing <literal>TEMPLATE
5656 <replaceable class="parameter">name</replaceable></literal>. In particular,
57- by writing <literal>TEMPLATE template0</literal>, you can create a virgin
58- database containing only the standard objects predefined by your
57+ by writing <literal>TEMPLATE template0</literal>, you can create a pristine
58+ database (one where no user-defined objects exist and where the system
59+ objects have not been altered)
60+ containing only the standard objects predefined by your
5961 version of <productname>PostgreSQL</productname>. This is useful
6062 if you wish to avoid copying
6163 any installation-local objects that might have been added to
You can’t perform that action at this time.
0 commit comments