Re: enhanced error fields - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: enhanced error fields
Date
Msg-id CAEYLb_XNapUCCXiTLUsDSEzXopqX-t3OTae92m7ZjHr10jq=JA@mail.gmail.com
Whole thread Raw
In response to Re: enhanced error fields  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: enhanced error fields
List pgsql-hackers
On 4 January 2013 18:07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Exactly.  To my mind, the *entire* point of this patch is to remove the
> need for people to try to dig information out of potentially-localized
> message strings.  It's not clear to me that we have to strain to provide
> information that isn't in the currently-reported messages --- we are
> only trying to make it easier for client-side code to extract the
> information it's likely to need.

It seems that we're in agreement, then. I'll prepare a version of the
patch very similar to the one I previously posted, but with some
caveats about how reliably the values can be used. I think that that
should be fine.

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



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: dynamic SQL - possible performance regression in 9.2
Next
From: Peter Geoghegan
Date:
Subject: Re: enhanced error fields