Re: patch for 9.2: enhanced errors - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: patch for 9.2: enhanced errors
Date
Msg-id 4E248495.20505@agliodbs.com
Whole thread Raw
In response to Re: patch for 9.2: enhanced errors  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: patch for 9.2: enhanced errors
List pgsql-hackers
Tom,

> No, I don't.  You're adding complication to solve a problem that doesn't
> need to be solved.  The standard says to return the name of the
> constraint for a constraint-violation failure.  It does not say anything
> about naming the associated column(s).  COLUMN_NAME is only supposed to
> be defined for certain kinds of errors, and this isn't one of them.

Are we talking about FK constraints here, or CHECK contstraints?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Reduced power consumption in autovacuum launcher process
Next
From: Robert Haas
Date:
Subject: Re: per-column generic option