Tue Aug 3 18:16:05 PDT 2004
- Previous message: [Slony1-commit] By cbbrowne: Added localxid.sql, that generates a domain for the "XXID"
- Next message: [Slony1-commit] By cbbrowne: Add comments to all tables and to an increasing population
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Change this to look at all nodes and request function updates on them. (It was arbitrarily doing nodes 1 and 2, before...) Modified Files: -------------- slony1-engine/tools/altperl: update_node.pl (r1.1 -> r1.2) -------------- next part -------------- Index: update_node.pl =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/update_node.pl,v retrieving revision 1.1 retrieving revision 1.2 diff -Ltools/altperl/update_node.pl -Ltools/altperl/update_node.pl -u -w -r1.1 -r1.2 --- tools/altperl/update_node.pl +++ tools/altperl/update_node.pl @@ -6,12 +6,11 @@ require 'slon-tools.pm'; require 'slon.env'; -open(SLONIK, "|slonik"); -print SLONIK qq{ - cluster name = $SETNAME ; - node 1 admin conninfo = '$CINFO1'; - node 2 admin conninfo = '$CINFO2'; +open(SLONIK, ">/tmp/update_nodes.$$"); +print SLONIK genheader(); - update functions (id = 1); - update functions (id = 2); +foreach my $node (@NODES) { + print SLONIK "update functions (id = $node);\n"; }; +close SLONIK; +print `slonik /tmp/update_nodes.$$`;
- Previous message: [Slony1-commit] By cbbrowne: Added localxid.sql, that generates a domain for the "XXID"
- Next message: [Slony1-commit] By cbbrowne: Add comments to all tables and to an increasing population
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list