Trigger Behavior in Transactions

Поиск
Список
Период
Сортировка
От Joshua Kramer
Тема Trigger Behavior in Transactions
Дата
Msg-id Pine.LNX.4.63.0512241314560.22561@localhost.localdomain
обсуждение исходный текст
Ответы Re: Trigger Behavior in Transactions
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Mark Constable
Дата:
Сообщение: Re: Login username char length
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Merry Christmas!