From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.
Date: Mon, 03 Oct 2016 08:51:49 -0400
Message-ID: <13949.1475499109@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYhNg1qG0dgiow92LDK0Y0JC2JnmaM8McYnFCjBQS=JOg@mail.gmail.com>
References: <E1bqQ1s-0004Jm-LC@gemulon.postgresql.org>
<CA+TgmoYhNg1qG0dgiow92LDK0Y0JC2JnmaM8McYnFCjBQS=JOg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas <robertmhaas@gmail.com> writes:
> Why do you keep insisting on changing case where I've written "which"
> to instead say "that" in situations where AFAIK either is perfectly
> correct? I find such changes at best neutral, and in some cases
> worse.
What I was taught in school was that "that" introduces a restrictive
clause, i.e. one that limits the membership of whatever group was
just mentioned, while "which" introduces a descriptive clause, i.e.
one that just provides more information about the group. So for
example
Functions that return a pass-by-reference type must do X.
is correct, while
Functions, which return a pass-by-reference type, must do X.
carries an implication that *all* functions in the system return
pass-by-reference types. Even if you think that that's obviously
silly, it may confuse readers who are accustomed to this distinction
being drawn. On the other hand, this is fine:
Functions that return text, which is a pass-by-reference type,
must do X.
I've made the point more obvious in the above by setting off descriptive
clauses with commas, which is a common thing to do. But the punctuation
is optional.
I realize that this is nitpickery, and wouldn't usually bother about
the distinction in, say, code comments. But we are striving to be
somewhat formal in the user-facing documentation, no?
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Copy-editing for contrib/pg_visibility documentation.
In-Reply-To: <13949.1475499109@sss.pgh.pa.us>
References: <E1bqQ1s-0004Jm-LC@gemulon.postgresql.org> <CA+TgmoYhNg1qG0dgiow92LDK0Y0JC2JnmaM8McYnFCjBQS=JOg@mail.gmail.com> <13949.1475499109@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox