Re: Changing constraints to deferrable

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Changing constraints to deferrable
Дата
Msg-id 87d5tr9rx9.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Changing constraints to deferrable  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> 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.

Sorry, forgot to mention that I did that.

--
greg

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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: checkpoint_timeout
Следующее
От: John DeSoi
Дата:
Сообщение: Re: OSX, ODBC and Office 2004