From: Eric Bollengier Date: Mon, 5 Oct 2009 13:34:26 +0000 (+0200) Subject: Fix postgresql MD5 missing field X-Git-Tag: Release-7.0.0~2609 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd1decc5e28ffbea76db7972626082c4e677101e;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 ",