Re: Remove support in ri_triggers.c for zero-column foreign keys?
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Remove support in ri_triggers.c for zero-column foreign keys? |
| Дата | |
| Msg-id | 201206202324.14994.andres@2ndquadrant.com обсуждение исходный текст |
| Ответ на | Remove support in ri_triggers.c for zero-column foreign keys? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Remove support in ri_triggers.c for zero-column
foreign keys?
|
| Список | pgsql-hackers |
On Wednesday, June 20, 2012 11:15:44 PM Tom Lane wrote: > There is a nontrivial amount of code in ri_triggers.c that is concerned > with supporting foreign key constraints having zero columns. ... > > I think we should rip all that code out and instead put one test into > ri_FetchConstraintInfo insisting that the number of keys be > 0. +1. I really find that a strange concept and I have a hard time finding useful use-cases. Thanks for improving that code btw, I tried to read/patch it before and its not exactly accessible... Andres -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера