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)
Список
Дерево обсуждения
ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Jeff Davis <pgsql@j-davis.com>
Re: ENABLE/DISABLE CONSTRAINT NAME David Johnston <polobo@yahoo.com>
Re: ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Peter Eisentraut <peter_e@gmx.net>
Re: ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Peter Eisentraut <peter_e@gmx.net>
Re: ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Robert Haas <robertmhaas@gmail.com>
Re: ENABLE/DISABLE CONSTRAINT NAME Bernd Helmle <mailings@oopsware.de>
Re: ENABLE/DISABLE CONSTRAINT NAME Peter Eisentraut <peter_e@gmx.net>
Re: ENABLE/DISABLE CONSTRAINT NAME Robert Haas <robertmhaas@gmail.com>
Re: ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Jim Nasby <jim@nasby.net>
Re: ENABLE/DISABLE CONSTRAINT NAME Robert Haas <robertmhaas@gmail.com>
Re: ENABLE/DISABLE CONSTRAINT NAME Robert Haas <robertmhaas@gmail.com>
Re: ENABLE/DISABLE CONSTRAINT NAME wangshuo@highgo.com.cn
Re: ENABLE/DISABLE CONSTRAINT NAME Michael Paquier <michael.paquier@gmail.com>
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 по дате отправления