Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1am2B7-0000KZ-G4 for pgsql-committers@arkaria.postgresql.org; Fri, 01 Apr 2016 16:44:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1am2B6-0007xB-R0 for pgsql-committers@arkaria.postgresql.org; Fri, 01 Apr 2016 16:44:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1am2Au-0007ja-HK for pgsql-committers@postgresql.org; Fri, 01 Apr 2016 16:43:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1am2Ar-0007RT-DR for pgsql-committers@postgresql.org; Fri, 01 Apr 2016 16:43:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u31GhoCT030102; Fri, 1 Apr 2016 12:43:50 -0400 From: Tom Lane To: Alvaro Herrera cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Improve internationalization of messages involving type names In-reply-to: <20160401163739.GA41982@alvherre.pgsql> References: <20160401163739.GA41982@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 01 Apr 2016 13:37:39 -0300" Date: Fri, 01 Apr 2016 12:43:50 -0400 Message-ID: <30101.1459529030@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Alvaro Herrera writes: > Alvaro Herrera wrote: >> Tom Lane wrote: >>> Actually, I think the general convention is to NOT quote type names >>> in error messages. >> Ok, I'll change it. > Done. Thanks. Should we make a push to get rid of hard-wired type names in other messages? There's still quite a few "invalid input syntax for ..." instances that could be whacked until they all share the same translatable message. 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