Re: replicating DDL statements

From: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
To: Andrew Sullivan <andrew(at)libertyrms(dot)info>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: replicating DDL statements
Date: 2003-03-06 23:21:03
Message-ID: 200303061621.03688.pgsql@bluepolka.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday March 6 2003 3:36, Andrew Sullivan wrote:
> On Thu, Mar 06, 2003 at 02:45:41PM -0700, Ed L. wrote:
> > And in the absence of a SET TRIGGERS='off' command, anyone see any
> > concerns with the following?
> >
> > UPDATE pg_trigger
> > SET tgenabled = 'f'
> > WHERE tgname LIKE '%whatever%';
>
> I have heard warnings that this is not guaranteed to work, as there
> may still be places in the code where checking that table is not
> happening. Perhaps that was only true for older versions, though?

Unfortunately not. It doesn't work for me on 7.3.2 with a triggered C
function (dbmirror). :(

Ed

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-03-06 23:31:23 Re: designer tool for pgsql
Previous Message Tanu Shankar Bhatnagar 2003-03-06 22:52:01 designer tool for pgsql