Rules, triggers and such - Mailing list pgsql-general

From George Silva
Subject Rules, triggers and such
Date
Msg-id 9aa147370912090804o42608e3dn903f9130f0172177@mail.gmail.com
Whole thread Raw
Responses Re: Rules, triggers and such  (Guillaume Lelarge <guillaume@lelarge.info>)
List 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 by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Unix ODBC on SPARC 64 bits
Next
From: Guillaume Lelarge
Date:
Subject: Re: Rules, triggers and such