aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_config_pgsql.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 16:31:37 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-26 16:31:37 +0000
commit5d8d0f85275061bb21aacddd61794605f8774a15 (patch)
tree44267f91eff5f756fc631708f78c9a7789610f77 /res/res_config_pgsql.c
parenta408b0dae26e4dbc72d3e1aebe2d3ff53bf1a0d5 (diff)
Merged revisions 265923 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r265923 | tilghman | 2010-05-26 11:23:28 -0500 (Wed, 26 May 2010) | 14 lines Merged revisions 265910 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r265910 | tilghman | 2010-05-26 11:21:00 -0500 (Wed, 26 May 2010) | 7 lines Not finding rows in the DB does not rise to the level of a warning. (closes issue #17062) Reported by: drookie Patches: 20100525__issue17062.diff.txt uploaded by tilghman (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@265959 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_config_pgsql.c')
-rw-r--r--res/res_config_pgsql.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/res/res_config_pgsql.c b/res/res_config_pgsql.c
index fd0844571..1028feaec 100644
--- a/res/res_config_pgsql.c
+++ b/res/res_config_pgsql.c
@@ -563,8 +563,7 @@ static struct ast_config *realtime_multi_pgsql(const char *database, const char
}
ast_free(fieldnames);
} else {
- ast_log(LOG_WARNING,
- "PostgreSQL RealTime: Could not find any rows in table %s.\n", table);
+ ast_debug(1, "PostgreSQL RealTime: Could not find any rows in table %s.\n", table);
}
ast_mutex_unlock(&pgsql_lock);
@@ -637,7 +636,7 @@ static int update_pgsql(const char *database, const char *tablename, const char
newval = va_arg(ap, const char *);
if (!find_column(table, newparam)) {
- ast_log(LOG_WARNING, "Attempted to update column '%s' in table '%s', but column does not exist!\n", newparam, tablename);
+ ast_log(LOG_NOTICE, "Attempted to update column '%s' in table '%s', but column does not exist!\n", newparam, tablename);
continue;
}