Re: CASCADE PB

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: CASCADE PB
Дата
Msg-id 20021127085301.E93967-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на CASCADE PB  (fred <fred@skyturn.net>)
Список pgsql-admin
On Wed, 27 Nov 2002, fred wrote:

> Ok,
> Thank you for your quick answer,
> I'm affraid I made a mistake on my mail.
> I really wanted to automaticly delete line in the 'fact' table when I delete
> a line in the 'fact' table.
> But when I suppress a line in the 'coop' table I still have the related line
> in the 'fact' table.
> Do you think there is a mistake in my sql syntaxe ?

Not really, and on my 7.3b2 system (should be pretty much the same as
7.2.3 for the integrity constraints, since the only change I remember
being made was pretty unrelated) a delete from coop deletes all the rows
from fact.

Can you give a complete example (including some inserts and deletes) so we
can try it?


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

Предыдущее
От: fred
Дата:
Сообщение: Re: CASCADE PB
Следующее
От: Hugh Esco
Дата:
Сообщение: Re: Problems invoking psql, was: Re: Troubles at