projects
/
pgpool-online-recovery
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2e63725
)
remove unused checkPostgres function
author
Ahmed
<ahmed.bessifi@gmail.com>
Sat, 18 Jan 2014 03:51:56 +0000
(21:51 -0600)
committer
Ahmed
<ahmed.bessifi@gmail.com>
Sat, 18 Jan 2014 03:51:56 +0000
(21:51 -0600)
online-recovery.sh
patch
|
blob
|
history
diff --git
a/online-recovery.sh
b/online-recovery.sh
index
3e2aada
..
869d4c1
100755
(executable)
--- 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