X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fupdate_postgresql_tables.in;h=159e5bdaa603573f2920bf57afda4b69746d4966;hb=7a016f8ec562dcbc210c1d2da5f75ac8b8f4d602;hp=7c3cebbcbd3d01470d7c8e9ce66b0b61bb945d74;hpb=bcaf435f5b1811182b4092d7316ef305766c890f;p=bacula%2Fbacula diff --git a/bacula/src/cats/update_postgresql_tables.in b/bacula/src/cats/update_postgresql_tables.in old mode 100755 new mode 100644 index 7c3cebbcbd..159e5bdaa6 --- a/bacula/src/cats/update_postgresql_tables.in +++ b/bacula/src/cats/update_postgresql_tables.in @@ -1,79 +1,22 @@ #!/bin/sh # -# Shell script to update PostgreSQL tables from version 1.38 to 1.39 +# Shell script to update PostgreSQL tables from version 2.0.0 to 3.0.0 or higher # echo " " -echo "This script will update a Bacula PostgreSQL database from version 9 to 9" -echo "Depending on the size of your database," -echo "this script may take several minutes to run." +echo "This script will update a Bacula PostgreSQL database from version 10 to 11" +echo " which is needed to convert from Bacula version 2.0.0 to 3.0.x or higher" echo " " bindir=@SQL_BINDIR@ +db_name=@db_name@ -if $bindir/psql -f - -d bacula $* <