On 2004.03.03 21:37 Tom Lane wrote:
> "Karl O. Pinc" <kop@meme.com> writes:
> > It'd be nice if the error message from a REFERENCES
> > constraint mentioned the column name into which
> > the bad data was attempted to be inserted.
>
> You mean like this?
> DETAIL: Key (fk)=(1) is not present in table "foo".
Exactly! :)
Does 7.4 do something similar with CHECK constraints?
Karl <kop@meme.com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein