[pgpool-committers: 4678] pgpool: Prevent pcp_recovery_node from recovering "unused" status node.
Tatsuo Ishii
ishii at postgresql.org
Wed Apr 18 10:44:43 JST 2018
Prevent pcp_recovery_node from recovering "unused" status node.
This allowed to try to recover a node without configuration data,
which leads to variety of problems. See discussion:
https://www.pgpool.net/pipermail/pgpool-general/2018-March/006021.html
for more details.
Also I fixed pgpool_recovery function so that it quotes an empty
string argument with double quotes. Without this, the argument is
treated as if it does not exist, which was the source of the complain
from the user.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=605eb38faaac06e7dd68d708aab70ba5d2b40990
Modified Files
--------------
src/pcp_con/recovery.c | 4 ++++
src/sql/pgpool-recovery/pgpool-recovery.c | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
More information about the pgpool-committers
mailing list