Re: what are rules for?
От
Michael Shulman
Тема
Re: what are rules for?
Дата
Msg-id
c3f821000806260829u451797bfsdb7246a1b391929f@mail.gmail.com
Ответ на
Re: what are rules for? (Dean Rasheed)
Список
Дерево обсуждения
what are rules for? "Michael Shulman" <shulman@mathcamp.org>
Re: what are rules for? "Adam Rich" <adam.r@sbcglobal.net>
On Thu, Jun 26, 2008 at 5:08 AM, Dean Rasheed wrote: > The Oracle "instead of" trigger ducks this issue completely. The > trigger is called once per row in the view that matches the top-level > "where" clause, and it is entirely up to the author of the trigger > function to work out what to update (if anything). That sounds like exactly the sort of thing I was envisioning. Although from what Tom said, it sounds as though "instead of" triggers in PostgreSQL would have to be implemented in a significantly different way from other triggers. How does an Oracle "instead of" trigger decide how many rows to tell the caller were updated? Can this "return value" be modified programmatically by the trigger? Mike
В списке pgsql-general по дате отправления