From: Ahmed Date: Sat, 18 Jan 2014 03:51:56 +0000 (-0600) Subject: remove unused checkPostgres function X-Git-Url: http://git.rot13.org/?p=pgpool-online-recovery;a=commitdiff_plain;h=cf2e729045c82bb20c87996b0d9338195be3c861;hp=2e6372511f6d9b262567ee59fdc0a29ad59c609d;ds=sidebyside remove unused checkPostgres function --- diff --git a/online-recovery.sh b/online-recovery.sh index 3e2aada..869d4c1 100755 --- a/online-recovery.sh +++ b/online-recovery.sh @@ -31,10 +31,6 @@ CheckIfPgpoolIsRunning () { if ! killall -0 pgpool; then echo "[ERROR] Pgpool is not running !"; exit 1; fi; } -CheckPostgres () { - -} - AttachNodeToPgpool () { #pcp_attach_node is a command that permit to attach a specific postgres server (identified by 6th parameter) to pgpool. #pcp_attach_node dont return a good error code when it fails so here if I catch "BackendError" message in stderr I presume