Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhP39-0000tM-RE for pgsql-committers@arkaria.postgresql.org; Mon, 23 Jul 2018 00:50:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhP38-0004Qx-7C for pgsql-committers@arkaria.postgresql.org; Mon, 23 Jul 2018 00:50:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhP37-0004Qc-Uc for pgsql-committers@lists.postgresql.org; Mon, 23 Jul 2018 00:50:06 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhP35-00042q-IG for pgsql-committers@lists.postgresql.org; Mon, 23 Jul 2018 00:50:04 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 60FEB27F; Sun, 22 Jul 2018 20:50:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 22 Jul 2018 20:50:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=pKyf9oa9ezmuPDswDoZy2k/w+3HAgkMZXj+gljRyipc=; b=PlhxltCq M/ZrWvziB9q2TOJ2buCPFinkVSjR3YSh9DwooPWL5QqUFPB7k15w6WxpNVZXqFI7 p4OLlF/19zrKOwx8gf18UyPgqpsXWSVK7NB7jhafHUltS3TJgNwcnLevjK4keJh2 Jdc14jwz2aym7u8HcQ9g5QFrrit5LRDZEJOLRpkpH08aGSHqvruMEL/An9JpKwpm DSmu2VMx3cak8+LUOynDvCSwFq/pAIdeiZmXjHsupuKqPQ1U3mAf0ONzo756mHmX tYCmu4IoPLyMjB/iSio04M/YZ30g0zSUWd2s+U6HaFnk+IkcHYQsnSKtFZO4eo4I STv4kGS27ZZWOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=pKyf9oa9ezmuPDswDoZy2k/w+3HAg kMZXj+gljRyipc=; b=NVBC426+8v0snDuGiIiXgV3xhqharWPKdIUvCIxIR8kV0 2Ez5GIkBV2xVveDhDSIzCTpoQUeUOqhiSd7UDkLjqrtnELzFBxMNGSKVlyHq9hTt djNGbLnH1kQqNtsPHwRoziWkLBHLDfHBe7HZ466nYIs5hGIFUi6ZwEOmB/LjVszl VvOIgPeX8DBGVcxDKwOekseyxDDrEqKTK83zfUdskYhLPGQaMHruzMI+VfqD++N7 sJ7Y+y02PkCJy9//OeGBGduo1hHifhKfkClzW1Vwt/lXcpqsMKnzCoilg1C892IA SbOnaoqqxXXsOKy/cKVelLILG2UBPipMnCy2q0otg== X-ME-Proxy: X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id A62A510269; Sun, 22 Jul 2018 20:50:00 -0400 (EDT) Date: Mon, 23 Jul 2018 09:49:58 +0900 From: Michael Paquier To: Andres Freund Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Deduplicate "invalid input syntax" messages for various types. Message-ID: <20180723004958.GB2854@paquier.xyz> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OwLcNYc0lM97+oe1" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --OwLcNYc0lM97+oe1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 22, 2018 at 10:30:20PM +0000, Andres Freund wrote: > Deduplicate "invalid input syntax" messages for various types. >=20 > 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. >=20 > 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 --OwLcNYc0lM97+oe1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAltVJjYACgkQnvQgOdby QH1NTRAAoiwC5Mq2NzqD0076RcQ6jGZFeV7i/0Dxt2mPZY2fMp4Aklyo0gIkyVDD 1+9WW+WlnafA4WJqGVMV0ZMw0kLXG02Um/jgQnkRqf6xVUfhyPsAvGDeM2gfSKV0 q43G32a0T3N+/gfnVPjzPzgW3Amf01/I2ys3KSHcv8dI+LSO4MPBq4Y049jFleEl fwWOoiMCPrEkBf/QMPHS8aZDFueaVaAD48vBBzBvEoAM+bpBak8XI7gaoJ6V694W YXjIulx6gfULQNU9e+nUc2UZ9ECPB06QbW9vdjO85QMRcUKpiLWoqE/QcY5o2HbU b4xtsi9F4WoZBGod1/I45jH+dLaSDDcs6LUqjS28edAqFW1feaxdPScxDuwMh6NR TCIPVKh1oHN/hCDHUfxqsU2ehWJ/+7gGcwX9vSrUx9RsEZr0qJSpAnSNRDXW19dl XHfRTNaXu5wZBrs0WuoROSzn//Ecr67KdTxvymxzSKKEyxf1NsjmFvdiKxubkBR6 TrIP35+5zQSn9iBhn2C7tWf1XZn9tPsuJQtIRL8qYMr+AzSVMJIbKRvj0HiBQCoL t7M5J6NgDRiko8GwTcWXfvUojBruQbzv0ZnWaDlAlz7GiEQ9S310Rje5pv8djzKw 3VpxNkDeeXI9lEFTCfKATPkIk2T3D8WnRpG8jZuMXijs9ZFbpYk= =dB8L -----END PGP SIGNATURE----- --OwLcNYc0lM97+oe1--