pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rverghese <riyav@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: creating a new trigger for a table on a slave host
Date: Tue, 5 Jun 2012 11:00:19 -0700 (PDT)
Message-ID: <1338919219829-5711310.post@n5.nabble.com> (raw)

I need to modify my database schema and create a new trigger function. I know
that triggers are suppressed on the slave once Slony starts up. However
since slony is now already running on the slave, if I create a new trigger
there, it will not be suppressed. What is the best practice for creating a
trigger on the slave? Should you take the table out of replication, create
trigger , then add the table back in? Is there some other way to do it?
Thanks
RV

--
View this message in context: http://postgresql.1045698.n5.nabble.com/creating-a-new-trigger-for-a-table-on-a-slave-host-tp5711310...
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



Message-ID: <1338919219829-5711310.post@n5.nabble.com>
Permalink:  ../1338919219829-5711310.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1338919219829-5711310.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: riyav@hotmail.com
  Subject: Re: creating a new trigger for a table on a slave host
  In-Reply-To: <1338919219829-5711310.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox