]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix postgresql MD5 missing field
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 5 Oct 2009 13:34:26 +0000 (15:34 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 5 Oct 2009 13:34:26 +0000 (15:34 +0200)
bacula/src/cats/sql_cmds.c

index f6536f167ff818b069efe683abe7fe94ba72f41c..ddd035a94171efdd561682feb22a803aa14c03c2 100644 (file)
@@ -571,7 +571,7 @@ const char *select_recent_version[4] = {
 
    /* Postgresql */
    "SELECT DISTINCT ON (FilenameId, PathId) StartTime, JobId, FileId, "
-          "FileIndex, PathId, FilenameId, LStat "
+          "FileIndex, PathId, FilenameId, LStat, MD5 "
      "FROM File JOIN Job USING (JobId) "
     "WHERE JobId IN (%s) "
     "ORDER BY FilenameId, PathId, StartTime DESC ",