Re: ENABLE/DISABLE CONSTRAINT NAME

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: ENABLE/DISABLE CONSTRAINT NAME
Дата
Msg-id 1378161777.21540.86.camel@jdavis
обсуждение исходный текст
Ответ на ENABLE/DISABLE CONSTRAINT NAME  (wangshuo@highgo.com.cn)
Ответы Re: ENABLE/DISABLE CONSTRAINT NAME  (David Johnston <polobo@yahoo.com>)
Список pgsql-hackers
On Fri, 2013-08-30 at 09:57 +0800, wangshuo@highgo.com.cn wrote:
> Hi hackers,
> 
>        In order to achieve enable/disable constraint name,I made ​​a few 
> modifications to the code.
> 
>        First, someone used to build the constraints while building 
> table. Then inserting data must follow a certain order.
>        And people usually like to insert the data but not affected by 
> foreign keys or check.

Is there any semantic difference between marking a constraint as
DISABLED and simply dropping it? Or does it just make it easier to
re-add it later?

Regards,Jeff Davis





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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: INSERT...ON DUPLICATE KEY IGNORE
Следующее
От: Andres Freund
Дата:
Сообщение: Re: dynamic shared memory