/* Allocating config just to get the rules. */
os_calloc(1, sizeof(_Config), tmp_config);
/* Allocating config just to get the rules. */
os_calloc(1, sizeof(_Config), tmp_config);
if(ReadConfig(modules, cfgfile, tmp_config, db_config) < 0)
return(OS_INVALID);
if(ReadConfig(modules, cfgfile, tmp_config, db_config) < 0)
return(OS_INVALID);
#endif
}
else if(db_config->db_type == POSTGDB)
{
#ifndef UPOSTGRES
merror(DB_COMPILED, ARGV0, "postgresql");
#endif
}
else if(db_config->db_type == POSTGDB)
{
#ifndef UPOSTGRES
merror(DB_COMPILED, ARGV0, "postgresql");