Re: Disabling triggers in a transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Disabling triggers in a transaction
Дата
Msg-id 24920.1109622144@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Disabling triggers in a transaction  (Jay Guerette <jayguerette@gmail.com>)
Ответы Re: Disabling triggers in a transaction  (Terry Lee Tucker <terry@esc1.com>)
Список pgsql-general
Jay Guerette <jayguerette@gmail.com> writes:
> If I disable INSERT and UPDATE triggers inside a transaction; by
> setting and resetting reltriggers in pg_class; am I correct in
> thinking that this will disable triggers globally for that table for
> the duration of that transaction?

Not if you never commit the pg_class row in that state.

            regards, tom lane

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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: PostgreSQL 8 compiling for Windows
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Fast major-version upgrade (was: postgresql 8.0 advantages)