Fix missing RE in resubscribe
authorglyn <glyn@8kb.co.uk>
Wed, 7 May 2014 12:01:29 +0000 (13:01 +0100)
committerglyn <glyn@8kb.co.uk>
Wed, 7 May 2014 12:01:29 +0000 (13:01 +0100)
slony_failover.pl

index 672a1a4..be02cc5 100644 (file)
@@ -1264,7 +1264,7 @@ sub writeMoveSet {
                                      print SLONFILE ($line_prefix .
                                         "ECHO 'Issuing resubscribe for provider $to -> receiver $other_subs->[0]';\n");
                                     print SLONFILE ($line_prefix . 
-                                        "SUBSCRIBE NODE ( ORIGIN = $to, PROVIDER = $to, RECEIVER = $other_subs->[0] );\n");
+                                        "RESUBSCRIBE NODE ( ORIGIN = $to, PROVIDER = $to, RECEIVER = $other_subs->[0] );\n");
                                  }            
                             }
                             else {