From:
Peter Eisentraut <peter_e(at)gmx(dot)net>
To:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc:
Robert Haas <robertmhaas(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>,
Peter Geoghegan <peter(at)2ndquadrant(dot)com>, Pavel Stehule
<pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: proposal: additional error fields
Date:
2012-05-02 07:23:29
Message-ID:
1335943409.27046.3.camel@fsopti579.F-Secure.com (view raw or flat )
Thread:
2012-05-01 12:21:24 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2012-05-01 12:45:11 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 13:01:26 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2012-05-01 13:19:16 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 13:55:49 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-01 15:09:40 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 20:14:08 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-01 20:36:32 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 21:09:56 from "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
2012-05-01 23:07:19 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 23:22:15 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-01 21:20:15 from "David Johnston" <polobo(at)yahoo(dot)com>
2012-05-01 14:08:57 from "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
2012-05-01 19:36:22 from Noah Misch <noah(at)leadboat(dot)com>
2012-05-01 19:59:49 from Alvaro Herrera <alvherre(at)commandprompt(dot)com>
2012-05-01 20:09:17 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-02 00:05:07 from Robert Haas <robertmhaas(at)gmail(dot)com>
2012-05-02 00:13:05 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-02 01:01:48 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-02 07:23:29 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2012-05-02 13:17:06 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-02 14:16:48 from "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
2012-05-02 14:23:17 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-02 14:51:41 from "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
2012-05-02 22:36:19 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2012-05-02 00:32:58 from David Johnston <polobo(at)yahoo(dot)com>
2012-05-02 04:02:12 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2012-05-01 20:14:02 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
2012-05-01 14:25:53 from Robert Haas <robertmhaas(at)gmail(dot)com>
2012-05-01 16:02:18 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2012-05-01 16:22:44 from Robert Haas <robertmhaas(at)gmail(dot)com>
2012-05-01 17:15:11 from Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
2012-05-01 17:56:13 from Peter Geoghegan <peter(at)2ndquadrant(dot)com>
Lists:
pgsql-hackers
On tis, 2012-05-01 at 20:13 -0400, Tom Lane wrote:
> I don't deny that we probably need to reclassify a few error cases,
> and fix some elogs that should be ereports, before this approach would
> be really workable. My point is that it's *close*, whereas "let's
> invent some new error severities" is not close to reality and will
> break all sorts of stuff.
We might hit a road block because some of these sqlstates are defined by
the SQL standard. But at least we should try this first, and if it
doesn't work make another field that contains the admin/server-level
severity instead of the client-side/flow-control severity level.
In response to
Responses
pgsql-hackers by date
Next :From: Hannu KrosingDate: 2012-05-02 08:52:11
Subject : Re: JSON in 9.2 - Could we have just one to_json()
function instead of two separate versions ?
Previous :From : Vivek Singh RaghuwanshiDate : 2012-05-02 05:37:59
Subject : Features of Postgresql and Postgres-xc with MySQL