Re: enhanced error fields - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: enhanced error fields
Date
Msg-id 50DE0182.1080406@gmx.net
Whole thread Raw
In response to Re: enhanced error fields  (Peter Geoghegan <peter@2ndquadrant.com>)
List pgsql-hackers
On 12/10/12 4:23 PM, Peter Geoghegan wrote:
> Well, this is an area that the standard doesn't have anything to say
> about. The standard defines errcodes, but not what fields they make
> available. I suppose you could say that the patch proposes that they
> become a Postgres extension to the standard.

The standard certainly does define extra fields for errors; see <get
diagnostics statement>.  We have a GET DIAGNOSTICS statement in
PL/pgSQL, so there is certainly precedent for all of this.



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: enhanced error fields
Next
From: Alastair Turner
Date:
Subject: Re: Submission Review: User control over psql error stream