pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Deduplicate "invalid input syntax" messages for various types.
Date: Sun, 22 Jul 2018 22:30:20 +0000
Message-ID: <E1fhMrs-00034W-V5@gemulon.postgresql.org> (raw)

Deduplicate "invalid input syntax" messages for various types.

Previously a lot of the error messages referenced the type in the
error message itself. That requires that the message is translated
separately for each type.

Note that currently a few smallint cases continue to reference the
integer, rather than smallint, type. A later patch will create a
separate routine for 16bit input.

Author: Andres Freund
Discussion: https://postgr.es/m/20180707200158.wpqkd7rjr4jxq5g7@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3522d0eaba5a976f09a48810dd25dff6ab3565df

Modified Files
--------------
contrib/dblink/expected/dblink.out                   |  2 +-
contrib/postgres_fdw/expected/postgres_fdw.out       |  8 ++++----
doc/src/sgml/xtypes.sgml                             |  4 ++--
src/backend/utils/adt/int8.c                         |  4 ++--
src/backend/utils/adt/numutils.c                     | 12 ++++++------
src/backend/utils/adt/timestamp.c                    |  4 ++--
src/pl/plpython/expected/plpython_subtransaction.out |  4 ++--
src/pl/plpython/expected/plpython_types.out          |  2 +-
src/pl/tcl/expected/pltcl_subxact.out                |  6 +++---
src/test/regress/expected/aggregates.out             |  2 +-
src/test/regress/expected/alter_table.out            |  2 +-
src/test/regress/expected/copy2.out                  |  2 +-
src/test/regress/expected/int2.out                   | 14 +++++++-------
src/test/regress/expected/int4.out                   | 14 +++++++-------
src/test/regress/expected/int8.out                   | 10 +++++-----
src/test/regress/expected/plpgsql.out                |  4 ++--
src/test/regress/expected/select_parallel.out        |  2 +-
src/test/regress/expected/timestamptz.out            |  2 +-
src/test/regress/regress.c                           |  4 ++--
src/tutorial/complex.c                               |  4 ++--
20 files changed, 53 insertions(+), 53 deletions(-)



view thread (4+ messages)  latest in thread

Message-ID: <E1fhMrs-00034W-V5@gemulon.postgresql.org>
Permalink:  ../E1fhMrs-00034W-V5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fhMrs-00034W-V5@gemulon.postgresql.org

 · 

reply

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: andres@anarazel.de
  Subject: Re: pgsql: Deduplicate "invalid input syntax" messages for various types.
  In-Reply-To: <E1fhMrs-00034W-V5@gemulon.postgresql.org>
  References: <E1fhMrs-00034W-V5@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