Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdKku-0004ie-Rf for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 17:17:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bdKku-0004zH-EI for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Aug 2016 17:17:24 +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 1bdKjW-0003QR-Ja for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 17:15:58 +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 1bdKjT-0008Rb-Lb for pgsql-hackers@postgresql.org; Fri, 26 Aug 2016 17:15:58 +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 u7QHFoEB030236; Fri, 26 Aug 2016 13:15:50 -0400 From: Tom Lane To: Alvaro Herrera cc: Robert Haas , Jakob Egger , "pgsql-hackers@postgresql.org" Subject: Re: PG_DIAG_SEVERITY and a possible bug in pq_parse_errornotice() In-reply-to: <20160826170545.GA316209@alvherre.pgsql> References: <20160826170545.GA316209@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Fri, 26 Aug 2016 14:05:45 -0300" Date: Fri, 26 Aug 2016 13:15:50 -0400 Message-ID: <30235.1472231750@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alvaro Herrera writes: > Tom Lane wrote: >> Any objections? Anyone want to bikeshed the field name? I considered >> PG_DIAG_SEVERITY_NONLOCALIZED and PG_DIAG_SEVERITY_ENGLISH before settling >> on PG_DIAG_SEVERITY_ASCII, but I can't say I'm in love with that. > I didn't review the patch, but +1 on the idea. As for the name, I think > ASCII is the wrong thing (as many labels in other languages can be in > ascii too). I vote for NONLOCALIZED. > I see character "s" is already taken in the protocol; that would be my > first preference rather than A. How about Z? One of the reasons I didn't pick NONLOCALIZED was that I couldn't come up with an appropriate letter for the protocol. I guess Z is okay, but it's a bit of a stretch (especially if you're of the persuasion that wants to spell it "nonlocalised"). Maybe V for "seVerity"? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers