mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-24 15:46:29 +00:00
rather big refactoring: use a naming scheme
In the past naming of functions, variables and such didn't really have a naming scheme. Now they should have.
This commit is contained in:
4
config.c
4
config.c
@@ -235,7 +235,7 @@ parse_line(char *buff, char *name, char *value)
|
||||
}
|
||||
|
||||
bool
|
||||
reload_configuration(char *config_file, t_configuration_options * orig_options)
|
||||
reload_config(char *config_file, t_configuration_options * orig_options)
|
||||
{
|
||||
PGconn *conn;
|
||||
|
||||
@@ -295,7 +295,7 @@ reload_configuration(char *config_file, t_configuration_options * orig_options)
|
||||
}
|
||||
|
||||
/* Test conninfo string */
|
||||
conn = establishDBConnection(new_options.conninfo, false);
|
||||
conn = establish_db_connection(new_options.conninfo, false);
|
||||
if (!conn || (PQstatus(conn) != CONNECTION_OK))
|
||||
{
|
||||
log_warning(_("conninfo string is not valid, will keep current configuration.\n"));
|
||||
|
||||
Reference in New Issue
Block a user