Re: REFERENCES error message complaint, suggestion

From: "Karl O(dot) Pinc" <kop(at)meme(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: REFERENCES error message complaint, suggestion
Date: 2004-03-04 14:26:44
Message-ID: 20040304082644.C18208@mofo.meme.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 2004.03.03 21:37 Tom Lane wrote:
> "Karl O. Pinc" <kop(at)meme(dot)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(at)meme(dot)com>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2004-03-04 14:46:27 Re: META: Filtering viruses/worms
Previous Message Eva Hovelsrød 2004-03-04 14:17:35 Inherited tables and foreign keys