mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
repmgr: don't add empty "passfile" parameter in recovery.conf
This commit is contained in:
@@ -4970,7 +4970,7 @@ write_primary_conninfo(char *line, t_conninfo_param_list *param_list)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* passfile provided as configuration option */
|
/* passfile provided as configuration option */
|
||||||
if (config_file_options.passfile[0] != '\n')
|
if (config_file_options.passfile[0] != '\0')
|
||||||
{
|
{
|
||||||
/* check if the libpq we're using supports "passfile=" */
|
/* check if the libpq we're using supports "passfile=" */
|
||||||
if (has_passfile() == true)
|
if (has_passfile() == true)
|
||||||
|
|||||||
Reference in New Issue
Block a user