Re: The word "virgin" used incorrectly and probably better off replaced

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Gustafsson <daniel(at)yesql(dot)se>, Bruce Momjian <bruce(at)momjian(dot)us>, brian(dot)williams(at)mayalane(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: The word "virgin" used incorrectly and probably better off replaced
Date: 2019-11-08 16:30:07
Message-ID: 20191108163007.GA1228@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2019-Nov-08, Tom Lane wrote:

> Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> > Hmm. Maybe we can say "pristine database" and then add this explanation
> > in a parenthical comment:
>
> > This is particularly handy when restoring a
> > <literal>pg_dump</literal> dump: the dump script should be restored in a
> > pristine database (one where no user-defined objects exist and where
> > system objects have not been altered), 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.
>
> So the patch becomes s/virgin/pristine/g plus add a parenthetical
> definition for the first use? Works for me.

Well, there are three uses of the word "virgin". The first is for
"virgin user", and the patch turns that into just "user". The second
one is for "virgin database" and the patch has the effect you describe.
The third one is also s/virgin//.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
v2-0001-No-more-virgins.patch text/x-diff 2.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2019-11-08 16:41:59 Re: The word "virgin" used incorrectly and probably better off replaced
Previous Message Daniel Gustafsson 2019-11-08 15:37:18 Re: The word "virgin" used incorrectly and probably better off replaced