Re: Disable Triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, Terry Lee Tucker <terry(at)chosen-ones(dot)org>
Subject: Re: Disable Triggers
Date: 2008-04-09 20:38:54
Message-ID: 27129.1207773534@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Greg Sabino Mullane" <greg(at)turnstep(dot)com> writes:
> You should be using ALTER TABLE and not worry about changing tgenabled
> yourself, in case it wasn't obvious.

Yeah. I had imagined Terry was hacking some backend code to do this,
in which case invoking CacheInvalidateRelcache directly might be
reasonable. But updating tgenabled directly from client code is Just A
Bad Idea.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2008-04-09 22:29:53 Re: Disable Triggers
Previous Message Geoffrey 2008-04-09 19:59:16 Re: Disable Triggers