Integrity Error

Поиск
Список
Период
Сортировка
От Nima Ghorbany
Тема Integrity Error
Дата
Msg-id AANLkTinxvoCq43XWrQEm31Vst11OJsbmKk2seRhpUHv0@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
hello guys,
i am using openerp which uses postgres as its database .when i do some database changes in openerp i get this error which is a reflection of postgres internall error.do u have any idea what does it mean?
Error:  "document_directory_group_rel" violates foreign key constraint "document_directory_group_rel_item_id_fkey"
DETAIL: Key (item_id)=(230) is not present in table "document_directory".

i know that foreign key contraint avoid entering invalid data into a table but how can i find this key and delete it?

thanks

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

Предыдущее
От: m
Дата:
Сообщение: Re: detecting metadata corruption after dirty shutdown
Следующее
От: A B
Дата:
Сообщение: How to have two not null constraints at the same time