Re: changing referential integrety action on existing table

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: changing referential integrety action on existing table
Дата
Msg-id 20030206121737.F41355-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на changing referential integrety action on existing table  ("Matthew Nuzum" <cobalt@bearfruit.org>)
Список pgsql-sql
On Thu, 6 Feb 2003, Matthew Nuzum wrote:

> I have a table that uses the NO ACTION action for it's referential
> integrity.  I'd like to change it to CASCADE for the ON DELETE event.
> I'm using Postgres 7.2.

I think the best way is to drop all three triggers for the constraint and
use alter table add constraint to add the constraint again withe the
options you want.



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