On Tue, Sep 27, 2011 at 04:52:08PM -0300, Diego Augusto Molina wrote: > 2011/9/27, Diego Augusto Molina <diegoaugustomolina@xxxxxxxxx>: > > 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 <david@xxxxxxxxxx> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@xxxxxxxxx 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 (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general