Re: Temparary disable constraint

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Temparary disable constraint
Дата
Msg-id 200701170302.l0H32Yn23178@momjian.us
обсуждение исходный текст
Ответ на Temparary disable constraint  (Hubert FONGARNAND <informatique.internet@fiducial.fr>)
Ответы Re: Temparary disable constraint
Список pgsql-hackers
Hubert FONGARNAND wrote:
> Hi,
> 
> Is there a way to temporary disable a constraint (without drop and
> recreating it) in postgresql?

Sure, try ALTER TABLE ... DISABLE TRIGGER for the constraint trigger
name.

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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