Re: the case for machine-readable error fields - Mailing list pgsql-hackers

From Tom Lane
Subject Re: the case for machine-readable error fields
Date
Msg-id 23066.1249424884@sss.pgh.pa.us
Whole thread Raw
In response to Re: the case for machine-readable error fields  (Josh Berkus <josh@agliodbs.com>)
Responses Re: the case for machine-readable error fields
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> If that's what we're trying to solve, I don't think that adding some
> kind of proprietary shorthand coding is a good idea.  If we're do to
> this at all, it should be a connection-based GUC option, and use some
> standard formal like XML fragments.

Huh?  What he was talking about is providing additional error fields,
which would presumably be made available via PQresultErrorField in
libpq, or its kin in other interfaces, and would be totally invisible to
any client that didn't ask for them.  I can't imagine any value-add
from introducing XML into the problem.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bernd Helmle
Date:
Subject: Re: mixed, named notation support
Next
From: Tom Lane
Date:
Subject: Re: head contrib is broken (crypto)