Re: [COMMITTERS] pgsql: Give a better error for duplicate entries in VACUUM/ANALYZE colu - Mailing list pgsql-committers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Give a better error for duplicate entries in VACUUM/ANALYZE colu
Date
Msg-id 1547.1506452995@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Give a better error for duplicate entries inVACUUM/ANALYZE colu  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-committers
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Mon, Sep 25, 2017 at 1:50 PM, Peter Eisentraut <
> peter.eisentraut@2ndquadrant.com> wrote:
>> On 9/25/17 15:09, Tom Lane wrote:
>>> Hm, reads fine to me, and I'd still rather include "is" in the
>>> revised wording.  Anybody else agree with Peter's wording?

>> Note a big deal.  I'm just working off existing error messages:

> ​About half of those, especially the "appears" ones, seem unhelpful for
> deciding whether to add "is" here; "is appears" just doesn't work.

Peter's evidence is pretty conclusive that using "is" is not consistent
with our message style precedents, but there's still room to choose
which precedent to follow ;-).

> The middle ground would be writing: column "i" of relation "vaccluster"
> appears more than once; I'm good with using appears instead of deciding
> between [is] specified.

Yeah, I like "appears more than once" too.  It does not leave one feeling
that "is" has been left out.  Also, "specified" seems like an
unnecessarily formal word here.  Per Mark Twain, "Don't use a five-dollar
word when a fifty-cent word will do."

I'll make this change in the back-patched patch, but Peter's list suggests
that it'd be worth trying to make a lot of these other usages more
consistent in HEAD.
        regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix failure-to-read-man-page in commit 899bd785c.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Improve wording of error message added in commit 714805010.