Doubts about FK

Поиск
Список
Период
Сортировка
От Rafael Domiciano
Тема Doubts about FK
Дата
Msg-id 3a0028490809121114v6668639aw5e5f50fcb8525c21@mail.gmail.com
обсуждение исходный текст
Ответы Re: Doubts about FK
Список pgsql-sql
Hi there,

In my DB I have a couple of FK, so the change of referenced columns is a quite complicated.
Today, I DISABLE TRIGGER ALL on the tables envolved and then ENABLE TRIGGER ALL to back them.

Is there a better way to do that?
I read something about SET CONSTRAINTS ALL DEFFERED, but I don't know how to use it.

Regards,

Rafael Domiciano

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