Re: Are Triggers Synchronous

Поиск
Список
Период
Сортировка
От Gaetano Mendola
Тема Re: Are Triggers Synchronous
Дата
Msg-id 404248C5.4000603@bigfoot.com
обсуждение исходный текст
Ответ на Are Triggers Synchronous  (Shri Shrikumar <shri@urbyte.com>)
Список pgsql-general
Shri Shrikumar wrote:

> Hi All,
>
> I am not sure if this is the right list for this question, so if its
> not, I would appreciate a pointer in the right direction.
>
> Anyways, I would like to know if triggers are synchronous in Postgresql.
> I have a PHP application and when executing a query, I would like the
> queries to wait until the triggers have completed execution before
> returning to the application.
>
> Is this possible?

Of course the trigger are synchronous but you can define it on these
events:

1) INSERT
2) UPDATE
3) DELETE

what you can do with an insert is a RULE instead.



Gaetano.




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

Предыдущее
От: Tony Rice
Дата:
Сообщение: dumping fields from Perl
Следующее
От: Edwin Pauli
Дата:
Сообщение: Postgres slow after a couple of days