| От | Adrian Klaver |
|---|---|
| Тема | Re: unexpected effect of FOREIGN KEY ON CASCADE DELETE |
| Дата | |
| Msg-id | 201006240729.21260.adrian.klaver@gmail.com обсуждение исходный текст |
| Ответ на | Re: unexpected effect of FOREIGN KEY ON CASCADE DELETE (Grzegorz Jaśkiewicz <gryzman@gmail.com>) |
| Ответы |
Re: unexpected effect of FOREIGN KEY ON CASCADE DELETE
|
| Список | pgsql-general |
On Thursday 24 June 2010 7:21:04 am Grzegorz Jaśkiewicz wrote: > because in my case I have many tables with FK pointing at foob. So > writing that many triggers is going to be a royal pain. I am trying to see how this is different from writing the triggers on the child tables :) In any case are they not all pointing the at the same value in foob? From what you have described you are trying to capture the name associated with the id deleted in foob, so I am not sure why the child tables need to be involved. -- Adrian Klaver adrian.klaver@gmail.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера