Re: disable triggers isolated to transaction only?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: disable triggers isolated to transaction only?
Date: 2010-03-03 15:50:03
Message-ID: 4B8E852B.9050408@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/03/10 15:46, Greg Sabino Mullane wrote:
> ALTER TABLE will lock and block, but I'd be remiss if I didn't point
> out the use of session_replication_role as a much better solution to
> this particular class of problem. (Even if your version does not
> support it, Vick, it should be noted here for the archives). The
> session_replication_role was added in 8.3:
>
> http://www.postgresql.org/docs/8.3/interactive/sql-altertable.html

That wouldn't have occurred to me. Definitely worth adding to the archives.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thom Brown 2010-03-03 15:56:07 Re: Massive table bloat
Previous Message Greg Sabino Mullane 2010-03-03 15:46:14 Re: disable triggers isolated to transaction only?