From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Jakob Egger <jakob@eggerapps.at>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: PG_DIAG_SEVERITY and a possible bug in pq_parse_errornotice()
Date: Fri, 26 Aug 2016 13:15:50 -0400
Message-ID: <30235.1472231750@sss.pgh.pa.us> (raw)
In-Reply-To: <20160826170545.GA316209@alvherre.pgsql>
References: <20160826170545.GA316209@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Alvaro Herrera <alvherre@2ndquadrant.com> 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
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, robertmhaas@gmail.com, jakob@eggerapps.at
Subject: Re: PG_DIAG_SEVERITY and a possible bug in pq_parse_errornotice()
In-Reply-To: <30235.1472231750@sss.pgh.pa.us>
References: <20160826170545.GA316209@alvherre.pgsql> <30235.1472231750@sss.pgh.pa.us>
* 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