Do "after update" trigger block the current transaction?

Поиск
Список
Период
Сортировка
От Clemens Eisserer
Тема Do "after update" trigger block the current transaction?
Дата
Msg-id CAFvQSYRVn3Ad76XGFPTJO266-nVf3qRQNDNuvQEtKFxATMdz-w@mail.gmail.com
обсуждение исходный текст
Ответы Re: Do "after update" trigger block the current transaction?
Список pgsql-general
Hi,

We are currently evaluating the feasibility of executing long-running
scripts written in shell-script (plsh) called by triggers (after
update/insert) to synchronize two databases. Will triggers (after
update specifically) cause the execution of SQL-commands to pause
until the trigger-function has returned (at statement execution time
or commit)?

The other possible approach would be to use polling on some
trigger-updated timestamp-column, which is not pretty but should be
fairly simple.

Thank you in advance, Clemens


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

Предыдущее
От: Bartosz Dmytrak
Дата:
Сообщение: effective_io_concurrency on Windows
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Acess Oracle with dbi-link (PostgreSQL) Error Compile