Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Remove the word "virgins" for documentation
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 14 Nov 2019 20:33:26 +0000 (17:33 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 14 Nov 2019 20:33:26 +0000 (17:33 -0300)
Apparently, it's no longer welcome.  Therefore replace it with "pristine",
and add some explanatory text while at it.

Reported by Brian Williams
Discussion: https://postgr.es/m/157313712259.14261.16141263269989647311@wrigleys.postgresql.org

doc/src/sgml/manage-ag.sgml
doc/src/sgml/ref/create_database.sgml

index 0154064e506306eda0ca848b960752ecc217a650..b1b8539fb3a52c335d69cb44e6e49061de6a6c21 100644 (file)
@@ -199,11 +199,12 @@ createdb -O <replaceable>rolename</replaceable> <replaceable>dbname</replaceable
    should never be changed after the database cluster has been
    initialized.  By instructing
    <command>CREATE DATABASE</command> to copy <literal>template0</literal> instead
-   of <literal>template1</literal>, you can create a <quote>virgin</quote> user
-   database that contains none of the site-local additions in
+   of <literal>template1</literal>, you can create a <quote>pristine</quote> user
+   database (one where no user-defined objects exist and where the system
+   objects have not been altered) that contains none of the site-local additions in
    <literal>template1</literal>.  This is particularly handy when restoring a
    <literal>pg_dump</literal> dump: the dump script should be restored in a
-   virgin database to ensure that one recreates the correct contents
+   pristine database to ensure that one recreates the correct contents
    of the dumped database, without conflicting with objects that
    might have been added to <literal>template1</literal> later on.
   </para>
index 4014f6703bbaeaeac8ebdc13dcd2f674c9088fcb..504c1b022460d774be99d42639fe0eeef2c10d72 100644 (file)
@@ -54,8 +54,10 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
    system database <literal>template1</literal>.  A different template can be
    specified by writing <literal>TEMPLATE
    <replaceable class="parameter">name</replaceable></literal>.  In particular,
-   by writing <literal>TEMPLATE template0</literal>, you can create a virgin
-   database containing only the standard objects predefined by your
+   by writing <literal>TEMPLATE template0</literal>, you can create a pristine
+   database (one where no user-defined objects exist and where the system
+   objects have not been altered)
+   containing only the standard objects predefined by your
    version of <productname>PostgreSQL</productname>.  This is useful
    if you wish to avoid copying
    any installation-local objects that might have been added to