]> git.8kb.co.uk Git - slony-i/slony_failover/commitdiff
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 672a1a4966c9c645a5179024b7a7e7f7049caad5..be02cc5228f6e026b857aa0dcf7aa72f952a4eb1 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 {