projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04679cb
)
Fix mistake in previous commit for pgpool_setup.in.
author
Tatsuo Ishii
<ishii@sraoss.co.jp>
Sun, 6 Feb 2022 23:29:18 +0000
(08:29 +0900)
committer
Tatsuo Ishii
<ishii@sraoss.co.jp>
Sun, 6 Feb 2022 23:34:14 +0000
(08:34 +0900)
In the commit it mistakenly replace master_node_id with main_node_id.
src/test/pgpool_setup.in
patch
|
blob
|
blame
|
history
diff --git
a/src/test/pgpool_setup.in
b/src/test/pgpool_setup.in
index 21efe265a6d697a5228114fd4838b4da708b13c5..a913ade084a9b14ad3942c5d24905bca1fac8417 100755
(executable)
--- a/
src/test/pgpool_setup.in
+++ b/
src/test/pgpool_setup.in
@@
-189,7
+189,7
@@
if [ $new_master_id = "-1" ];then
fi
if [ a"$failed_node_id" = a"$old_primary_node_id" -o a"$old_primary_node_id" = a"-1" ];then # master node failed
- new_primary_db_cluster=${mydir}/data"$new_ma
in
_id"
+ new_primary_db_cluster=${mydir}/data"$new_ma
ster
_id"
echo $pg_ctl -D $new_primary_db_cluster promote >>$log # let standby take over
$pg_ctl -D $new_primary_db_cluster promote >>$log # let standby take over
fi