delete/copy on table with foreign keys

Поиск
Список
Период
Сортировка
От CSN
Тема delete/copy on table with foreign keys
Дата
Msg-id 20040717202623.85504.qmail@web52907.mail.yahoo.com
обсуждение исходный текст
Список pgsql-general
Is it possible to disable "delete casade foreign keys"
so all items in a table can be deleted without the
items in the other tables being deleted as well? The
only thing I can figure out is maybe drop all relevant
triggers, delete, import (I'm trying to reimport data
on only one table), then recreate the triggers. set
constraints doesn't appear to fit the bill, nor
transactions. In the archives I saw mention of "alter
table disable|enable trigger ..." getting added to the
TODO.

CSN



__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/


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

Предыдущее
От: Hervé Piedvache
Дата:
Сообщение: URGENT pg_xlog full impossible to restart ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: URGENT pg_xlog full impossible to restart ...