]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl comments about usage of PQisthreadsafe
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Feb 2009 09:50:39 +0000 (09:50 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 17 Feb 2009 09:50:39 +0000 (09:50 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8458 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/postgresql.c

index 828cfb84a600f643e48084f430296a4ac20c6bb2..9a380de4802c7ef39322491d2a7904b65be3d1d8 100644 (file)
@@ -170,7 +170,7 @@ db_open_database(JCR *jcr, B_DB *mdb)
    int errstat;
    char buf[10], *port;
 
-#ifdef xxx
+#ifdef xxx                      /* require libpq >= 8.2 */
    if (!PQisthreadsafe()) {
       Jmsg(jcr, M_ABORT, 0, _("PostgreSQL configuration problem. "          
            "PostgreSQL library is not thread safe. Cannot continue.\n"));