Foriegn key constraint

Поиск
Список
Период
Сортировка
От Sivagami .
Тема Foriegn key constraint
Дата
Msg-id 004801c05f07$3e0aaa30$43c0f4d1@worlddata.com
обсуждение исходный текст
Ответы Re: Foriegn key constraint  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: Foriegn key constraint  (Jie Liang <jliang@jliang.ipinc.com>)
Список pgsql-admin
Hi,
 
I have a question. I tried adding a Foreign Key constraint to a table via the ALTER TABLE command. But the records in the table did not match with those in the Parent table. Now my Alter table command, instead of giving me an error of kind - 'records do not match',  has gone into a kind of Deadlock between the 2 tables. I am not able to select from the tables, nor delete them, nor drop them. If I try to do any of these, I get the error saying -
" Error :  RelationBuildTriggers: 2 record(s) not found for rel invoice"
 
How do I overcome this error. Any ideas will be greatly appreciated.
Thanks a lot in advance.
 
Shiva.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] LockReplace: xid table corrupted
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PORTS] Re: 1)Can't compile with ODBC support. 2)FATAL 1: AllocSetAlloc() on Pentium computer.