From: Kern Sibbald Date: Wed, 1 Nov 2017 17:30:55 +0000 (+0100) Subject: Use if exists on dropping MAC table in postgres. Fixes bug #2314 X-Git-Tag: Release-9.0.5~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5774a000996a1034ff0e682adaf526faefdb1eaf;p=bacula%2Fbacula Use if exists on dropping MAC table in postgres. Fixes bug #2314 --- diff --git a/bacula/src/cats/drop_postgresql_tables.in b/bacula/src/cats/drop_postgresql_tables.in index b34481d168..8e4f5e5d93 100644 --- a/bacula/src/cats/drop_postgresql_tables.in +++ b/bacula/src/cats/drop_postgresql_tables.in @@ -28,7 +28,7 @@ drop table Device; drop table Storage; drop table MediaType; drop table Status; -drop table MAC; +drop table if exists MAC; drop table log; drop table Location; drop table locationlog;