From: Eric Bollengier Date: Sun, 12 Apr 2009 11:53:28 +0000 (+0000) Subject: ebl Add debug message when checking database encoding X-Git-Tag: Release-3.0.1~52 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=44c8fb4a8bd89c42465453970929d5fb2a2538de;p=bacula%2Fbacula ebl Add debug message when checking database encoding git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8717 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/postgresql.c b/bacula/src/cats/postgresql.c index 9a380de480..9ff87f4187 100644 --- a/bacula/src/cats/postgresql.c +++ b/bacula/src/cats/postgresql.c @@ -153,6 +153,7 @@ static bool check_database_encoding(JCR *jcr, B_DB *mdb) _("Encoding error for database \"%s\". Wanted SQL_ASCII, got %s\n"), mdb->db_name, row[0]); Jmsg(jcr, M_WARNING, 0, "%s", mdb->errmsg); + Dmsg1(50, "%s", mdb->errmsg); } } return ret;