]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix update_postgresql_tables 10 to 11
authorEric Bollengier <eric@baculasystems.com>
Fri, 8 Feb 2013 11:33:20 +0000 (12:33 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:51:08 +0000 (14:51 +0200)
bacula/updatedb/update_postgresql_tables_10_to_11.in

index f5df19f2ba1893f573b27f8aa527809a31a471d4..1be8033d7baff9afb6cac8f23c9260246162a3bd 100644 (file)
@@ -10,7 +10,7 @@ bindir=@POSTGRESQL_BINDIR@
 PATH="$bindir:$PATH"
 db_name=${db_name:-@db_name@}
 
-psql -f - -d ${db_name} $* <<END-OF-DATA
+if psql -f - -d ${db_name} $* <<END-OF-DATA
 -- The alter table operation can be faster with a big maintenance_work_mem
 -- Uncomment and adapt this value to your environment
 -- SET maintenance_work_mem = '1GB';