Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6ae4d27

Browse files
committed
Remove the word "virgins" for documentation
Apparently, it's no longer welcome. Therefore replace it with "pristine",and add some explanatory text while at it.Reported by Brian WilliamsDiscussion:https://postgr.es/m/157313712259.14261.16141263269989647311@wrigleys.postgresql.org
1 parent50d22de commit6ae4d27

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

‎doc/src/sgml/manage-ag.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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>

‎doc/src/sgml/ref/create_database.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp