Re: [PATCHES] enable/disable trigger (Re: Fwd: Open items) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] enable/disable trigger (Re: Fwd: Open items)
Date
Msg-id 23136.1124164955@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> ... but everybody else is locked out completely, because the ALTER takes
>> an exclusive lock on the table.  It's a bit misleading to describe that
>> as a local change.

> The pre-8.1 method was to UPDATE pg_class.reltriggers = 0.  Would that
> allow concurrent access?

It did not lock the table per se.  (Whether that was a safe behavior
at all, I'm too tired to work out at the moment.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Marc G. Fournier"
Date:
Subject: Re: Upcoming back-branch releases
Next
From: Greg Stark
Date:
Subject: Re: Testing of MVCC