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 1fhP6e-00015q-86 for pgsql-committers@arkaria.postgresql.org; Mon, 23 Jul 2018 00:53:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhP6b-0006vr-W6 for pgsql-committers@arkaria.postgresql.org; Mon, 23 Jul 2018 00:53:41 +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 1fhP6b-0006va-Nc for pgsql-committers@lists.postgresql.org; Mon, 23 Jul 2018 00:53:41 +0000 Received: from new2-smtp.messagingengine.com ([66.111.4.224]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhP6Z-00049Y-84 for pgsql-committers@lists.postgresql.org; Mon, 23 Jul 2018 00:53:40 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 204971383; Sun, 22 Jul 2018 20:53:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 22 Jul 2018 20:53:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; 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=UINjC/pPg0rnn0x6eyWFrIKTEutda6bFNfpcWlwZFC8=; b=xoYcWEHB TXT0/o+Xv0sSsnjJoSu1fGJhFFyoPNbQcoq0WvjCpnCoKSbtkbVSml8yM/o5E4cI Edf51ZtKA0oWssp8dpIxpiWOhgarjSnus+qd+SjqkdwKqg2swS/8a4k9F7VMCvZB jVrxXsta9TWIV6g+tswDuz8y53Pf1SdlvBQsd0yG2hH6zUXIWXi/5Nzbqzkct0jC Se5qeb+PlY1SKOLHiGBqDQFDkZPcL+WXlmm6Z9heEoOXofIuwCIwogzCsQBwRx/F FpsKO9mzjZEJt0VdD0GqrRYxSxo22dMjaHT6bOhZwoXnaU7FYENioDYTmT25go5h nf5wgYT7y4T3SA== 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=UINjC/pPg0rnn0x6eyWFrIKTEutda 6bFNfpcWlwZFC8=; b=ZbrnR+7EXMoHUroxJtspU+R3ponn7gLGuMQSPFU9YHwQw hwd97wDbmUBv6OQgeU/YiKHjdUnaBGiQHUq/je8C8O89euI9c7HoLRCVJokf2cPn YCUc60mWfdAEqqhdVz2RWIOVUaJHPDgflUWTg/9vm11UHWd+ojIGn2bYGIFpA1O1 6oLgUUUx/yDQDtZz9HH7fA7zhTX9Bj4sSkmFaI4alpEaeI7dy0C1jQ5obuFEwWIh UMDPAEMVeAAS4IgF5xPdzQDBJbVH5QHx2E4+N8haMa0klZS3lggZiF7L31vK6Bku jaJa51cNNPJTEzac4yVBUDKzityIRlsHb4+bOCbUw== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 68BBFE4514; Sun, 22 Jul 2018 20:53:37 -0400 (EDT) Date: Sun, 22 Jul 2018 17:53:36 -0700 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Deduplicate "invalid input syntax" messages for various types. Message-ID: <20180723005336.4ey7pyjkmgc3pcec@alap3.anarazel.de> References: <20180723004958.GB2854@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180723004958.GB2854@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-07-23 09:49:58 +0900, Michael Paquier wrote: > 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. Yea, I noticed. I pushed a blind fix. Hope that fixes it, but I'll re-check. Took me a while because I had to re-run check-world a couple times because you continued to push things ;) Greetings, Andres Freund