From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: In messages, use singular nouns for -1, like we do for +1.
Date: Tue, 30 Mar 2021 22:34:39 +0000
Message-ID: <E1lRMwZ-0003qk-1J@gemulon.postgresql.org> (raw)
In messages, use singular nouns for -1, like we do for +1.
This outputs "-1 year", not "-1 years".
Reported-by: neverov.max@gmail.com
Bug: 16939
Discussion: https://postgr.es/m/16939-cceeb03fb72736ee@postgresql.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5da9868ed983f95cc1cff80dcd81252a513774f8
Modified Files
--------------
src/backend/utils/adt/datetime.c | 4 ++--
src/interfaces/ecpg/pgtypeslib/interval.c | 4 ++--
src/interfaces/libpq/fe-print.c | 4 ++--
src/test/regress/expected/interval.out | 22 +++++++++++-----------
4 files changed, 17 insertions(+), 17 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 using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: In messages, use singular nouns for -1, like we do for +1.
In-Reply-To: <E1lRMwZ-0003qk-1J@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