On Tue, Sep 27, 2011 at 04:52:08PM -0300, Diego Augusto Molina wrote: > 2011/9/27, Diego Augusto Molina <[email protected]>: > > Honestly, I don't remember why I used triggers instead of rules in the > > "audit" and "audet" tables. > > I remember now, that's because in my case, operations over tuples are > done very lightly (one or two in the same sentence at a time). So, for > a case as such, rules end up beeing more expensive than triggers > (right?).
There's an even better reason not to use rules: they're going away in a not too distant version of PostgreSQL. Cheers, David. -- David Fetter <[email protected]> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: [email protected] iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-general mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general
