disable trigger all

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема disable trigger all
Дата
Msg-id AANLkTi=XtdN=bY4PWYfzmt4=WzqA83dO1-BTqiL5UPzM@mail.gmail.com
обсуждение исходный текст
Ответы Re: disable trigger all  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I got bitten Today by 'alter table disable trigger all' vs 'trigger user'.
Basically , assuming that psql doesn't show me that FKs are disabled
some code was using 'trigger all' instead of 'user'.

Is that a bug of psql, or a feature ? As far as I can see
pg_catalog.pg_constraint doesn't contain information about whether FK
is disabled as a result of trigger disabling query or not. So it is
hard to asses the damage as well.



--
GJ

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: receive and transmit streaming replication at same time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Fwd: Restore problem from 8.4 backup to 9.0