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