Re: REFERENCES error message complaint, suggestion

Поиск
Список
Период
Сортировка
От Karl O. Pinc
Тема Re: REFERENCES error message complaint, suggestion
Дата
Msg-id 20040304082644.C18208@mofo.meme.com
обсуждение исходный текст
Ответ на Re: REFERENCES error message complaint, suggestion  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: REFERENCES error message complaint, suggestion
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: META: Filtering viruses/worms
Следующее
От: Eva Hovelsrød
Дата:
Сообщение: Inherited tables and foreign keys