Re: triggers on commit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: triggers on commit
Дата
Msg-id 24236.1079709236@sss.pgh.pa.us
обсуждение исходный текст
Ответ на triggers on commit  (Erik Thiele <erik@thiele-hydraulik.de>)
Ответы Re: triggers on commit  (Erik Thiele <erik@thiele-hydraulik.de>)
Список pgsql-sql
Erik Thiele <erik@thiele-hydraulik.de> writes:
> now. what i wanted to do is ensure that this is done correctly and
> otherwise abort the transaction.
> of course this check needs to be done at the commit time, because if i
> do it on statement level, it cannot work, since i cannot change two
> tables at the same time.

I believe "deferred AFTER" triggers are fired just before commit.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: psql: FATAL 1: IDENT authentication failed for user error - Urgent pls
Следующее
От: Erik Thiele
Дата:
Сообщение: Re: triggers on commit