Trigger Behavior in Transactions

From: Joshua Kramer <josh(at)bitbuckets(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Trigger Behavior in Transactions
Date: 2005-12-24 18:17:52
Message-ID: Pine.LNX.4.63.0512241314560.22561@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Greetings,

Where in the documentation can I find information on the low-level
behavior of triggers that fire as a result of insert/update statements
inside of transactions?

Do the triggers fire at the point the transaction is COMMITted? Or as
soon as the statements are encountered? (If this is the case, how are
rollbacks done - does the trigger also fire for the rollback?)

I am creating a mechanism for updating PG databases remotely (from another
PG database) for a magazine article I'm writing, and I need to figure out
how to engineer the trigger mechamisms so they work properly.

Thanks,
-Josh

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2005-12-24 20:20:18 Merry Christmas!
Previous Message Carlos Moreno 2005-12-24 14:46:26 Re: Login username char length