pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Coleman <jtc331@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: Alexander Korotkov <a.korotkov@postgrespro.ru>
Subject: Re: doc review for v13
Date: Sun, 26 Apr 2020 20:59:05 -0400
Message-ID: <9096.1587949145@sss.pgh.pa.us> (raw)
In-Reply-To: <CAAaqYe_4WCXkrGpj9NP4=w+BD6aYKmL+F8avvwVebcViCp6Xgw@mail.gmail.com>
References: <20200408165653.GF2228@telsasoft.com>
	<20200410022746.GT1606@paquier.xyz>
	<20200410030150.GZ2228@telsasoft.com>
	<20200410062902.GX1606@paquier.xyz>
	<20200412213545.GO2228@telsasoft.com>
	<20200414054754.GH1492@paquier.xyz>
	<20200426161324.GS28974@telsasoft.com>
	<CAAaqYe_4WCXkrGpj9NP4=w+BD6aYKmL+F8avvwVebcViCp6Xgw@mail.gmail.com>

James Coleman <jtc331@gmail.com> writes:
> On Sun, Apr 26, 2020 at 12:13 PM Justin Pryzby <pryzby@telsasoft.com> wrote:
>> I think my text is correct.  This would *also* be correct:
>> |       If any <literal>CHECK</literal> constraint on the table being
>> |       attached is marked <literal>NO INHERIT</literal>, the command will fail;
>> But not the hybrid: "If any OF THE .. is .."

> "any of the...are" sounds more natural to my ears,

Yeah, I think the same.  If you want to argue grammar, I'd point
out that the "any" could refer to several of the constraints,
making it correct to use the plural verb.  The alternative that
Justin mentions could be written as "If any one constraint is ...",
which is correct in that form; but the plural way seems less stilted.

			regards, tom lane





view thread (22+ messages)  latest in thread

Message-ID: <9096.1587949145@sss.pgh.pa.us>
Permalink:  ../9096.1587949145@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9096.1587949145@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jtc331@gmail.com, pryzby@telsasoft.com, michael@paquier.xyz, pgsql-hackers@lists.postgresql.org, a.korotkov@postgrespro.ru
  Subject: Re: doc review for v13
  In-Reply-To: <9096.1587949145@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