Re: multiple action rules

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multiple action rules
Дата
Msg-id 4821.1119536692@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: multiple action rules  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
Scott Marlowe <smarlowe@g2switchworks.com> writes:
> Now I'm thinking I should make a patch for a demonstration of making a
> rule with >1 action though...

You're right, there are no such examples.  It would be interesting to
make a full-fledged demonstration of maintaining a join view (where
delete from the join means delete from both tables) --- in particular
the need to use an outer join so that the first table delete doesn't
cause rows to disappear from the view.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Propogating conditions into a query
Следующее
От: Roberto Pellagatti
Дата:
Сообщение: plpgsql and schema