<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    <small><small><small><font face="Courier New, Courier, monospace"><big><font
                face="Verdana">Hi, I'm new to Slony and I'm testing it
                for replicate some table between 2 Postgres DBs... today
                I had try the "MOVE SET" command executing this script
                on the slave:</font><br>
              <br>
              #!/usr/bin/slonik<br>
              define CLUSTER clusterone;<br>
              define PRIMARY 1;<br>
              define SLAVE 10;<br>
              <br>
              cluster name = @CLUSTER;<br>
              node @PRIMARY admin conninfo = 'dbname=NameDB
              host=IPMaster user=test-slony';<br>
              node @SLAVE admin conninfo = 'dbname=NameDB host=IPSlave
              user=test-slony';<br>
              <br>
              LOCK SET(ID=1, ORIGIN=@PRIMARY);<br>
              MOVE SET(ID=1, OLD ORIGIN=@PRIMARY, NEW ORIGIN=@SLAVE);</big><br>
          </font></small></small></small><br>
    <small><small>...after this I execute the same script (with @PRIMARY
        and @SLAVE inverted)<big><big> </big></big>on the PRIMARY node
        (to get back to the previous situation) but I obtain the<small><small>
          </small></small>following error:<br>
        <br>
        <font face="Courier New, Courier, monospace">./script4.sk:10:
          PGRES_FATAL_ERROR select "_cname".lockSet(1); select
          "_cname".getMaxXid();&nbsp; - ERROR:&nbsp; Slony-I: set 1 does not
          originate on local node</font><br>
        <br>
        ...now @SLAVE and @PRIMARY node result both as subscriber to the
        set with ID 1 and I can't delete/drop the set.<br>
        What did I do wrong? There is a way to get all back to normal?<br>
      </small></small><small><small><br>
        <br>
        Thanks in advance.<br>
        Alex<br>
      </small></small>
  </body>
</html>