mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +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"
|
repmgr: new configuration option for setting "restore_command"
|
||||||
in the recovery.conf file generated by repmgr (Martín)
|
in the recovery.conf file generated by repmgr (Martín)
|
||||||
repmgr: add --csv option to "repmgr cluster show" (Gianni)
|
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
|
In particular explicitly setting a parameter for `connect_timeout` should
|
||||||
be considered; the effective minimum value of `2` (seconds) will ensure
|
be considered; the effective minimum value of `2` (seconds) will ensure
|
||||||
that a connection failure at network level is reported as soon as possible,
|
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.
|
a delay of a minute or more is possible.
|
||||||
|
|
||||||
For further details on `conninfo` network connection parameters, see:
|
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
|
bool
|
||||||
logger_init(t_configuration_options * opts, const char *ident)
|
logger_init(t_configuration_options *opts, const char *ident)
|
||||||
{
|
{
|
||||||
char *level = opts->loglevel;
|
char *level = opts->loglevel;
|
||||||
char *facility = opts->logfacility;
|
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,
|
* Initialize the logger. If verbose command line parameter was input,
|
||||||
* make sure that the log level is at least INFO. This is mainly useful
|
* make sure that the log level is at least INFO. This is mainly useful
|
||||||
|
|||||||
Reference in New Issue
Block a user