Re: How to fire triggers just on "top" level DML

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to fire triggers just on "top" level DML
Date: 2011-01-20 13:25:25
Message-ID: 20110120132525.GC14674@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Any suggestions?

you might find this approach useful:

http://www.depesz.com/index.php/2008/01/18/how-to-check-if-given-update-is-from-trigger-or-why-i-hate-orms/

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/
jid/gtalk: depesz(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2011-01-20 13:49:55 Re: [GENERAL] streaming replication feature request
Previous Message Gregory Machin 2011-01-20 06:49:04 rubyrep breaks Silver Stripe (MVC frame work) and vis versa.