Rules, triggers and such

Поиск
Список
Период
Сортировка
От George Silva
Тема Rules, triggers and such
Дата
Msg-id 9aa147370912090804o42608e3dn903f9130f0172177@mail.gmail.com
обсуждение исходный текст
Ответы Re: Rules, triggers and such  (Guillaume Lelarge <guillaume@lelarge.info>)
Список pgsql-general
Hello all again :)

I have a question: is it possible to replicate the behavior of a rule
INSTEAD of with a TRIGGER?

For some specific reasons i need to use a trigger to update a
secondary table, but i don't want the changes to happen in the primary
table too.

Is it possible to do it? If so, how?

I thought of using a instead of rule with a procedure, but a trigger
is just so much easier :P

Thanks

--
George R. C. Silva

Desenvolvimento em GIS
www.sextantegeo2.blogspot.com

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Unix ODBC on SPARC 64 bits
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Rules, triggers and such