Re: enhanced error fields
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Geoghegan <peter.geoghegan86@gmail.com>, Pavel Stehule <pavel.stehule@gmail.com>, "anarazel@anarazel.de" <andres@anarazel.de>, Robert Haas <robertmhaas@gmail.com>, Stephen Frost <sfrost@snowman.net>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Alvaro Herrera <alvherre@commandprompt.com>
Date: 2013-01-29T14:20:34Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Create a "sort support" interface API for faster sorting.
- c6e3ac11b60a 9.2.0 cited
On 1/28/13 11:08 PM, Tom Lane wrote: > The issue is that > this definition presupposes that we want to complain about a table or > a domain, never both, because we're overloading both the SCHEMA_NAME > and CONSTRAINT_NAME fields for both purposes. This is annoying in > validateDomainConstraint(), where we know the domain constraint that > we're complaining about and also the table/column containing the bad > value. We can't fill in both TABLE_NAME and DATATYPE_NAME because > they both want to set SCHEMA_NAME, and perhaps not to the same value. I think any error should only complain about one object, in this case the domain. The table, in this case, is more like a context stack item.