From: Eric Bollengier Date: Mon, 5 Oct 2009 13:34:26 +0000 (+0200) Subject: Fix postgresql MD5 missing field X-Git-Tag: Release-5.0.0~292 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=983822380cfb6b6ffd76285c4f92532576ae66e5;p=bacula%2Fbacula Fix postgresql MD5 missing field --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index f6536f167f..ddd035a941 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -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 ",