foreign key violation

Поиск
Список
Период
Сортировка
От Larry Holish
Тема foreign key violation
Дата
Msg-id 20010405225649.A15371@badlands.philberts.org
обсуждение исходный текст
Список pgsql-novice
Hello,

I am inserting rows from a temp table into table A using INSERT INTO.
Table A has a foreign key referencing table B's primary key.  I get
the following error:

<unnamed> referential integrity violation - key referenced from table
A not found in table B

Is there a way to tell which row(s) is causing the problem?  I am
using ver. 7.02. Thanks in advance,

--
Larry Holish
<ljholish@speakeasy.net>

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

Предыдущее
От: Joel Burton
Дата:
Сообщение: diff -c pgsql mysql (Was Database Name Case Sensitivity)
Следующее
От: "Tom Brown"
Дата:
Сообщение: Postmaster hangs until Ctrl-C