Re: pgsql: Further cleanup of JSON-specific error messages.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Further cleanup of JSON-specific error messages.
Date: 2014-08-11 04:26:13
Message-ID: 29674.1407731173@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> Minor typo in error message - missing "an" before "even":
> "argument list must have even number of elements"
> should be
> "argument list must have an even number of elements"

I copied that wording from somewhere else in the same file...

We're not terribly consistent on including/omitting articles in primary
error messages, but I think the majority of cases omit them. In this
case, for example, why are you worried about adding "an" there but not
"the" in front of "argument list"?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David Johnston 2014-08-11 04:48:07 Re: pgsql: Further cleanup of JSON-specific error messages.
Previous Message David G Johnston 2014-08-11 03:39:27 Re: pgsql: Further cleanup of JSON-specific error messages.