"set standard_conforming_strings=on"
This avoid the warning: WARNING: nonstandard use of \\ in a string literal
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5574
91ce42f0-d328-0410-95d8-
f526ca767f89
}
sql_query(mdb, "SET datestyle TO 'ISO, YMD'");
+
+ /* tell PostgreSQL we are using standard conforming strings
+ and avoid warnings such as:
+ WARNING: nonstandard use of \\ in a string literal
+ */
+ sql_query(mdb, "set standard_conforming_strings=on");
V(mutex);
return 1;