Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED
В списке pgsql-hackers по дате отправления:
| От | Simon Riggs |
|---|---|
| Тема | Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED |
| Дата | |
| Msg-id | 1295814699.1803.20469.camel@ebony обсуждение исходный текст |
| Ответ на | Re: REVIEW: ALTER TABLE ... ADD FOREIGN KEY ... NOT ENFORCED (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Sun, 2011-01-23 at 14:45 -0500, Tom Lane wrote: > Simon Riggs <simon@2ndQuadrant.com> writes: > > On Sun, 2011-01-23 at 20:33 +0200, Marko Tiikkaja wrote: > >> \d table now only shows that there's a FOREIGN KEY, which might lead the > >> user to think that there should not be any values that don't exist in > >> the referenced table. > > > Neither \d nor \di shows invalid indexes. > > Even if that were true, it's a poor analogy, since a disabled foreign > key has visible *semantic* impact, whereas a disabled index doesn't. Sure. My agreement to add something appears to have crossed with your comments. I'd appreciate you reviewing the parser aspects of the patch. $TITLE no longer reflects the syntax. -- Simon Riggs http://www.2ndQuadrant.com/books/PostgreSQL Development, 24x7 Support, Training and Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера