From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Deduplicate "invalid input syntax" messages for various types.
Date: Mon, 23 Jul 2018 09:49:58 +0900
Message-ID: <20180723004958.GB2854@paquier.xyz> (raw)
In-Reply-To: <E1fhMrs-00034W-V5@gemulon.postgresql.org>
References: <E1fhMrs-00034W-V5@gemulon.postgresql.org>
On Sun, Jul 22, 2018 at 10:30:20PM +0000, Andres Freund wrote:
> 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.
A couple of alternate outputs have been forgotten here (int8 has some
extra ones), causing make check to turn red on Windows, and plcheck to
turn red on macos.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, andres@anarazel.de
Subject: Re: pgsql: Deduplicate "invalid input syntax" messages for various types.
In-Reply-To: <20180723004958.GB2854@paquier.xyz>
References: <E1fhMrs-00034W-V5@gemulon.postgresql.org> <20180723004958.GB2854@paquier.xyz>
* 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