Do docs miss information about timing of triggers?

Поиск
Список
Период
Сортировка
От Thomas Güttler
Тема Do docs miss information about timing of triggers?
Дата
Msg-id 5746F102.70808@thomas-guettler.de
обсуждение исходный текст
Ответы Re: Do docs miss information about timing of triggers?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Do docs miss information about timing of triggers?  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
I (and a team mate) guess that the docs miss information about the timing of triggers,
which are not constraint triggers:

https://www.postgresql.org/docs/devel/static/sql-createtrigger.html


{{{
When the CONSTRAINT option is specified, this command creates a constraint trigger. This is the same as a regular
trigger except that the timing of the trigger firing can be adjusted using SET CONSTRAINTS. Constraint triggers must be

AFTER ROW triggers on tables. They can be fired either at the end of the statement causing the triggering event, or at
the end of the containing transaction; in the latter case they are said to be deferred. A pending deferred-trigger
firing can also be forced to happen immediately by using SET CONSTRAINTS. Constraint triggers are expected to raise an
exception when the constraints they implement are violated.
}}}

OK, timing of constraint triggers is explained.

But I think the docs don't state the timing of normal AFTER triggers.

Or am I blind?

Regards,
   Thomas Güttler


--
Thomas Guettler http://www.thomas-guettler.de/


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

Предыдущее
От: Patrick Baker
Дата:
Сообщение: Re: full text search index
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Do docs miss information about timing of triggers?