Re: foreign keys for array/period contains relationships
В списке pgsql-hackers по дате отправления:
| От | Jeff Davis |
|---|---|
| Тема | Re: foreign keys for array/period contains relationships |
| Дата | |
| Msg-id | 1288052687.11160.2.camel@jdavis-ux.asterdata.local обсуждение |
| Ответ на | Re: foreign keys for array/period contains relationships (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: foreign keys for array/period contains relationships
|
| Список | pgsql-hackers |
On Mon, 2010-10-25 at 12:34 -0700, Greg Stark wrote: > On Mon, Oct 25, 2010 at 12:11 PM, Peter Eisentraut <peter_e@gmx.net> wrote: > > Is this sort of thing feasible? Has anyone done more research into the > > necessary details? > > I think the problems arise when you try to figure out what records you > need to lock to prevent someone from deleting the referenced rows > before you commit. I think that's easier when the PK must contain the FK, because then you only need to lock one record. Even when you need to lock multiple records, it seems feasible, and is just an index lookup, right? Do you see a particular problem? Regards,Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера