From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
Date: Sat, 01 May 2021 14:42:56 +0000
Message-ID: <E1lcqpc-0007bj-1C@gemulon.postgresql.org> (raw)
Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
Turns out you can specify negative values using plurals:
https://english.stackexchange.com/questions/9735/is-1-followed-by-a-singular-or-plural-noun
so the previous code was correct enough, and consistent with other usage
in our code. Also add comment in the two places where this could be
confused.
Reported-by: Noah Misch
Diagnosed-by: 20210425115726.GA2353095@rfd.leadboat.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/651d005e76bc0b9542615f609b4d0d946035dc58
Modified Files
--------------
contrib/dblink/expected/dblink.out | 6 +++---
src/backend/utils/adt/datetime.c | 5 +++--
src/interfaces/ecpg/pgtypeslib/interval.c | 5 +++--
src/interfaces/libpq/fe-print.c | 4 ++--
src/test/regress/expected/interval.out | 22 +++++++++++-----------
5 files changed, 22 insertions(+), 20 deletions(-)
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: bruce@momjian.us
Subject: Re: pgsql: Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
In-Reply-To: <E1lcqpc-0007bj-1C@gemulon.postgresql.org>
References: <E1lcqpc-0007bj-1C@gemulon.postgresql.org>
* 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