| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера