[pgpool-committers: 4674] 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
------
V3_6_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=53a5b1ad5788341bb96549d69929c9af2e390312

Modified Files
--------------
src/pcp_con/recovery.c                    | 4 ++++
src/sql/pgpool-recovery/pgpool-recovery.c | 6 +++---
2 files changed, 7 insertions(+), 3 deletions(-)



More information about the pgpool-committers mailing list