Re: [PATCHES] enable/disable trigger (Re: Fwd: Open items)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] enable/disable trigger (Re: Fwd: Open items)
Date: 2005-08-16 04:02:35
Message-ID: 23136.1124164955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2005-08-16 04:04:47 Re: Testing of MVCC
Previous Message Marc G. Fournier 2005-08-16 02:52:36 Re: Upcoming back-branch releases