| От | David Wheeler |
|---|---|
| Тема | Re: DO INSTEAD and conditional rules |
| Дата | |
| Msg-id | a8d72cf4fc7867a60b5362dc4dabc64e@kineticode.com обсуждение исходный текст |
| Ответ на | Re: DO INSTEAD and conditional rules (Jan Wieck <JanWieck@Yahoo.com>) |
| Список | pgsql-hackers |
On Apr 26, 2005, at 5:02 PM, Jan Wieck wrote: > The multi-action rules usually come into play when someone attempts to > make join-views updatable. Not an easy problem, granted, but most of > the time I have found a combination of rules together with ON > UPDATE/DELETE CASCADE constraints or even user defined triggers > absolutely sufficient. The INSERT and UPDATE case is handled by rules > as usual. And in the DELETE case the rule just deletes the critical > rows and the ON DELETE CASCADE constraints do the rest. Yes, this is what I'm finding, too. But it would be good if the documentation better reflected that this is how it works. Regards, David
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера