Обсуждение: Out of date docs: DISABLE/ENABLE TRIGGER

Поиск
Список
Период
Сортировка

Out of date docs: DISABLE/ENABLE TRIGGER

От
Dean Rasheed
Дата:
Hi,

I just spotted that the docs for ALTER TABLE .. DISABLE/ENABLE TRIGGER
are out of date, now that we have deferrable uniqueness and exclusion
constraints.

Also, I think that the original comment in the ENABLE/DISABLE TRIGGER
section was misleading because it suggested that only superusers can
disable constraint triggers, which is not true for *user-defined*
constraint triggers.

Proposed update attached.

Regards,
Dean

Вложения

Re: Out of date docs: DISABLE/ENABLE TRIGGER

От
Alvaro Herrera
Дата:
Excerpts from Dean Rasheed's message of dom jun 06 05:11:02 -0400 2010:
> Hi,
> 
> I just spotted that the docs for ALTER TABLE .. DISABLE/ENABLE TRIGGER
> are out of date, now that we have deferrable uniqueness and exclusion
> constraints.

applied, thanks

> Also, I think that the original comment in the ENABLE/DISABLE TRIGGER
> section was misleading because it suggested that only superusers can
> disable constraint triggers, which is not true for *user-defined*
> constraint triggers.

right.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support