Re: Changing constraints to deferrable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Changing constraints to deferrable
Дата
Msg-id 11017.1111518329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Changing constraints to deferrable  (Greg Stark <gsstark@mit.edu>)
Ответы Re: Changing constraints to deferrable  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> Is it enough to just do
>   update pg_constraint set condeferrable = 't' where contype = 'f';

I think you'd need to start a fresh backend session --- the relcache
entries for the tables probably won't notice the above hack.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question about function body checking and 8.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Question about function body checking and 8.1