| От | Michael Fuhr |
|---|---|
| Тема | Re: foreign key constraints, cannot delete |
| Дата | |
| Msg-id | 20041009001450.GA61983@winnie.fuhr.org обсуждение |
| Ответ на | Re: foreign key constraints, cannot delete (Josh Close <narshe@gmail.com>) |
| Ответы |
Re: foreign key constraints, cannot delete [SOLVED]
|
| Список | pgsql-general |
On Fri, Oct 08, 2004 at 04:21:01PM -0500, Josh Close wrote: > On Fri, 8 Oct 2004 23:15:24 +0200, Martijn van Oosterhout > <kleptog@svana.org> wrote: > > You havn't posted the exact error message. You'll have to if you want > > people to properly explain what's going on... > > update or delete on "tblheadings" violates foreign key constraint "$1" > on "tblheadings" DETAIL: Key (iid)=(22) is still referenced from table > "tblheadings" This looks like tblheadings has a foreign key reference to itself. Is this the *exact* error message, cut-and-pasted? What do your table definitions look like? -- Michael Fuhr http://www.fuhr.org/~mfuhr/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера