pgsql: Improve plural handling in error message

Started by Peter Eisentrautalmost 9 years ago3 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Improve plural handling in error message

This does not use the normal plural handling, because no numbers appear
in the actual message.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/237a0b87b1dc90f8789aa5441a2a11e67f46c96e

Modified Files
--------------
src/backend/parser/parse_oper.c | 5 ++++-
src/test/regress/expected/alter_table.out | 2 +-
src/test/regress/expected/create_view.out | 2 +-
src/test/regress/expected/geometry.out | 2 +-
src/test/regress/expected/horology.out | 2 +-
src/test/regress/expected/text.out | 2 +-
src/test/regress/expected/timetz.out | 2 +-
src/test/regress/expected/with.out | 2 +-
8 files changed, 11 insertions(+), 8 deletions(-)

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pgsql: Improve plural handling in error message

Peter Eisentraut <peter_e@gmx.net> writes:

Improve plural handling in error message

You missed at least one expected-file update, see
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=frogmouth&amp;dt=2017-08-24%2002%3A30%3A24

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

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#2)
Re: pgsql: Improve plural handling in error message

On 8/24/17 00:37, Tom Lane wrote:

Peter Eisentraut <peter_e@gmx.net> writes:

Improve plural handling in error message

You missed at least one expected-file update, see
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=frogmouth&amp;dt=2017-08-24%2002%3A30%3A24

fixed

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

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