Wed Jul 20 20:27:26 PDT 2005
- Previous message: [Slony1-general] DROP TABLE and foreign key
- Next message: [Slony1-general] About at existing set ALTER TABLE set default value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
slon_watchdog.pl is failing to do the slonik restart nodes because it
has the wrong script name. restart_node was renamed to
slonik_restart_node but slon_watchdog.pl wasn't modified. I have
appended the patch.
- Ian
diff -u -b -B -r1.11 slon_watchdog.pl
--- tools/altperl/slon_watchdog.pl 16 Mar 2005 18:57:21 -0000 1.11
+++ tools/altperl/slon_watchdog.pl 20 Jul 2005 19:25:14 -0000
@@ -48,7 +48,7 @@
print SLONLOG "WATCHDOG: You ought to check the postmaster and
slon for evidence of a crash!\n";
print SLONLOG "WATCHDOG: I'm going to restart slon for $node...\n";
# First, restart the node using slonik
- system "@@TOOLSBIN@@/restart_node $node | @@PGBINDIR@@/slonik";
+ system "@@TOOLSBIN@@/slonik_restart_node $node | @@PGBINDIR@@/slonik";
# Next, restart the slon process to service the node
start_slon($nodenum);
$pid = get_pid($node);
- Previous message: [Slony1-general] DROP TABLE and foreign key
- Next message: [Slony1-general] About at existing set ALTER TABLE set default value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list