mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Miscellaneous code cleanup and typo fixes
This commit is contained in:
2
HISTORY
2
HISTORY
@@ -1,4 +1,4 @@
|
||||
3.1.4 2016-07-
|
||||
3.1.4 2016-07-12
|
||||
repmgr: new configuration option for setting "restore_command"
|
||||
in the recovery.conf file generated by repmgr (Martín)
|
||||
repmgr: add --csv option to "repmgr cluster show" (Gianni)
|
||||
|
||||
@@ -1100,7 +1100,7 @@ the length of time it takes to determine that the connection is not possible.
|
||||
In particular explicitly setting a parameter for `connect_timeout` should
|
||||
be considered; the effective minimum value of `2` (seconds) will ensure
|
||||
that a connection failure at network level is reported as soon as possible,
|
||||
otherwise dependeing on the system settings (e.g. `tcp_syn_retries` in Linux)
|
||||
otherwise depending on the system settings (e.g. `tcp_syn_retries` in Linux)
|
||||
a delay of a minute or more is possible.
|
||||
|
||||
For further details on `conninfo` network connection parameters, see:
|
||||
|
||||
2
log.c
2
log.c
@@ -142,7 +142,7 @@ log_verbose(int level, const char *fmt, ...)
|
||||
|
||||
|
||||
bool
|
||||
logger_init(t_configuration_options * opts, const char *ident)
|
||||
logger_init(t_configuration_options *opts, const char *ident)
|
||||
{
|
||||
char *level = opts->loglevel;
|
||||
char *facility = opts->logfacility;
|
||||
|
||||
9
repmgr.c
9
repmgr.c
@@ -761,15 +761,6 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
/* keywords[2] = "user";
|
||||
values[2] = (runtime_options.username[0]) ? runtime_options.username : NULL;
|
||||
keywords[3] = "dbname";
|
||||
values[3] = runtime_options.dbname;
|
||||
keywords[4] = "application_name";
|
||||
values[4] = (char *) progname();
|
||||
keywords[5] = NULL;
|
||||
values[5] = NULL;*/
|
||||
|
||||
/*
|
||||
* Initialize the logger. If verbose command line parameter was input,
|
||||
* make sure that the log level is at least INFO. This is mainly useful
|
||||
|
||||
Reference in New Issue
Block a user