<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">>(since one can't add a table to an existing replication set)<br><br><span style="font-weight: bold;">That is not true at all.</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">The following slony commands allow you to add a table to an existing set;</span><br><br style="font-weight: bold;"><span style="font-weight: bold;">slonik <<_EOF_</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">CLUSTER NAME = $YOUR_CLUSTER;</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">node 1 admin conninfo = 'dbname=$MASTERDBNAME host=$MASTERHOST port=$PGPORT user=$REPLICATIONUSER';</span><br style="font-weight: bold;"><span style="font-weight: bold;">node 101 admin conninfo = 'dbname=$MASTERDBNAME host=$SLAVEHOST1
port=$PGPORT user=$REPLICATIONUSER';</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">#CREATE NEW TEMP SET</span><br style="font-weight: bold;"><span style="font-weight: bold;">CREATE SET ( ID=999, ORIGIN = 1, COMMENT = 'Temporary new set' );</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">#Add the table(s) and/or sequence(s) to the new temp set</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">SET ADD TABLE (SET ID=999, ORIGIN=1, ID=107, FULLY QUALIFIED NAME='you_schema.you_table', comment='your_table comment') ;</span><br style="font-weight: bold;"><span style="font-weight: bold;">SET ADD TABLE (SET ID=999, ORIGIN=1, ID=110, FULLY QUALIFIED NAME='pts_meta.master_project', comment='master_project') ;</span><br style="font-weight: bold;"><br style="font-weight: bold;"><br style="font-weight:
bold;"><span style="font-weight: bold;">#Subscribe the slave(s) to the new set</span><br style="font-weight: bold;"><span style="font-weight: bold;">SUBSCRIBE SET ( ID = 999, PROVIDER = 1, RECEIVER = 101, FORWARD = NO );</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">#Need to wait for 101 to confirm before continuing</span><br style="font-weight: bold;"><span style="font-weight: bold;">WAIT FOR EVENT (ORIGIN=1, CONFIRMED=101);</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">MERGE SET( ID=1, ADD ID=999, ORIGIN=1 );</span><br style="font-weight: bold;"><br style="font-weight: bold;"><span style="font-weight: bold;">_EOF_</span><br><br><div id="RTEContent"><font size="4"><span style="font-weight: bold; font-family: arial; color: rgb(0, 0, 255);">Melvin Davidson </span></font><br> <font size="3"> </font></div></td></tr></table><br>