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  (Hubert FONGARNAND <informatique.internet@fiducial.fr>)
Список 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 по дате отправления:

Предыдущее
От: "Takayuki Tsunakawa"
Дата:
Сообщение: What is the motivation of include directive and configuration files outside PGDATA
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Idea for fixing the Windows fsync problem