Re: enhanced error fields - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: enhanced error fields
Date
Msg-id CAEYLb_U1oQ-8L271+vLycLiwWDtQkSzgZ1oz=vUtKXiOwnh2iw@mail.gmail.com
Whole thread Raw
In response to Re: enhanced error fields  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 28 December 2012 20:34, Peter Eisentraut <peter_e@gmx.net> wrote:
> Isn't that the whole point of this patch?  The only purpose of this
> feature is to make the exception information available in a
> "machine-readable" way.  That functionality has been requested many
> times over the years.

Right, and I agree that it's very useful for some fields (if you can
actually have a reasonable set of guarantees about where each becomes
available). I just don't think that it's worth including fields like
routine_name within ErrorData, and in fact it may be harmful to do so.

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: enhanced error fields
Next
From: Pavel Stehule
Date:
Subject: Re: enhanced error fields