Re: [GENERAL] Foreign Keys Help Delete!

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: [GENERAL] Foreign Keys Help Delete!
Дата
Msg-id Pine.BSF.4.10.10009191732080.54561-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на [GENERAL] Foreign Keys Help Delete!  (Timothy Covell <dirac@applink.net>)
Список pgsql-sql
On Tue, 19 Sep 2000, Timothy Covell wrote:

> Schema:
>     hosts table with fqhn column
>     routes table with fqhn foreign key hosts(fqhn)
>
> Problem:
>
> 1. When I try to change fqhn in hosts, it complains that
> I have now violated entry in "routes" table.
>
> 2. When I try to update "routes" table, it updates.
>
> 3. Go back to "hosts" table and now try to rename/delete
> old fqhn and it complains about object missing with OID=xxxxx.

Can you give the table structure and statements you were
doing specifically?


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [GENERAL] Foreign Keys Help Delete!
Следующее
От: Jie Liang
Дата:
Сообщение: Re: [GENERAL] Foreign Keys Help Delete!