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 is backpatched from master (2.1dev) just because it will be easier
to backpatch other fixes.
This commit is contained in:
Christian Kruse
2014-03-06 18:22:16 +01:00
committed by Jaime Casanova
parent 65989840d2
commit 04c101c5f0
8 changed files with 202 additions and 200 deletions

View File

@@ -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"));