Dane Miller dane at greatschools.net
Thu Jun 19 12:18:12 PDT 2008
Hi Slony Friends,
  I just came across this typo in the MERGE SET documentation and wanted
to let y'all know...

http://slony.info/documentation/stmtmergeset.html

In the example, WAIT FOR=1 should be WAIT ON=1

Example
# Assuming that set 1 has direct subscribers 2 and 3
     SUBSCRIBE SET (ID = 999, PROVIDER = 1, RECEIVER = 2);
     SYNC (ID=1);
     WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = 2, WAIT FOR=1);
     SUBSCRIBE SET (ID = 999, PROVIDER = 1, RECEIVER = 3);
     SYNC (ID=1);
     WAIT FOR EVENT (ORIGIN = 1, CONFIRMED = 3, WAIT FOR=1);
     MERGE SET ( ID = 1, ADD ID = 999, ORIGIN = 1 );
    

Dane
-- 
Dane Miller
Systems Administrator
Greatschools, Inc
http://www.greatschools.net



More information about the Slony1-general mailing list