diff --git a/updatedb/update_postgresql_tables_10_to_11.in b/updatedb/update_postgresql_tables_10_to_11.in index f5df19f..1be8033 100644 --- a/updatedb/update_postgresql_tables_10_to_11.in +++ b/updatedb/update_postgresql_tables_10_to_11.in @@ -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';