Re: Alter Contraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alter Contraint
Дата
Msg-id 26808.1044630249@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Alter Contraint  (Peter Childs <blue.dragon@blueyonder.co.uk>)
Ответы Re: Alter Contraint
Список pgsql-general
Peter Childs <blue.dragon@blueyonder.co.uk> writes:
>     Now we can actually use Constraints properly in 7.3 (unlike
> previous versions) Is it possible to change them without dropping and
> recreating.
>     I think somone else has already asked this within the last few
> days. But what I need to do is make my constraints deferrable.

Have you looked at SET CONSTRAINTS ?  I'm not sure how complete our
implementation is, but it seems more nearly a match for your problem
than a persistent ALTER command.

> I'm not really sure why deferrable is not the default.

Because the SQL spec says so.

            regards, tom lane

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: List online archives and spam
Следующее
От: greg@turnstep.com
Дата:
Сообщение: Re: List online archives and spam