[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slony1-commit
Subject:    [Slony1-commit] By cbbrowne: Remove code from slonik_store_node.pl
From:       cvsuser () gborg ! postgresql ! org (CVS User Account)
Date:       2006-05-30 14:50:52
Message-ID: 20060530145052.EDD5E11C08A4 () gborg ! postgresql ! org
[Download RAW message or body]

Log Message:
-----------
Remove code from slonik_store_node.pl that lists listen paths, as these
are now computed automatically.

Modified Files:
--------------
    slony1-engine/tools/altperl:
        slonik_store_node.pl (r1.1 -> r1.2)

-------------- next part --------------
Index: slonik_store_node.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slonik_store_node.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -Ltools/altperl/slonik_store_node.pl -Ltools/altperl/slonik_store_node.pl -u -w -r1.1 -r1.2
--- tools/altperl/slonik_store_node.pl
+++ tools/altperl/slonik_store_node.pl
@@ -79,20 +79,6 @@
     }
 }
 
-# STORE LISTEN
-print SLONIK "\n# STORE LISTEN\n";
-foreach my $origin (@NODES) {
-    my $dsna = $DSN[$origin];
-    foreach my $receiver (@NODES) {
-	if ($origin != $receiver) {
-	    my $provider = $VIA[$origin][$receiver];
-	    next unless ($node == $origin   or
-			 $node == $receiver or
-			 $node == $provider);
-	    print SLONIK "  store listen (origin = $origin, receiver = $receiver, provider = $provider);\n";
-	}
-    }
-}
 print SLONIK "  echo 'Replication nodes prepared';\n";
 print SLONIK "  echo 'Please start a slon replication daemon for each node';\n";
 close SLONIK;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic