Re: DO INSTEAD and conditional rules

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Disable large objects GUC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [proposal] protocol extension to support loadable stream filters