Misc comment and log output corrections

This commit is contained in:
Ian Barwick
2019-01-09 09:41:59 +09:00
parent 81eb9d99e7
commit 3389491151

View File

@@ -2261,7 +2261,7 @@ do_standby_follow(void)
*/ */
else else
{ {
log_notice(_("attempting find to follow current primary")); log_notice(_("attempting to find and follow current primary"));
} }
/* /*
@@ -2274,7 +2274,6 @@ do_standby_follow(void)
* XXX add `upstream_follow_timeout` ? * XXX add `upstream_follow_timeout` ?
*/ */
for (timer = 0; timer < config_file_options.primary_follow_timeout; timer++) for (timer = 0; timer < config_file_options.primary_follow_timeout; timer++)
{ {
/* --upstream-node-id provided - connect to specified node*/ /* --upstream-node-id provided - connect to specified node*/
@@ -2416,7 +2415,10 @@ do_standby_follow(void)
termPQExpBuffer(&node_info_msg); termPQExpBuffer(&node_info_msg);
} }
/* if replication slots in use, check at least one free slot is available */ /*
* if replication slots in use, check at least one free slot is available
* on the follow target
*/
if (config_file_options.use_replication_slots) if (config_file_options.use_replication_slots)
{ {