2 rem Shell script to fix PostgreSQL tables in version 8
\r
6 echo "This script will fix a Bacula PostgreSQL database version 8"
\r
7 echo "Depending on the size of your database,"
\r
8 echo "this script may take several minutes to run."
\r
11 # Set the following to the path to psql.
\r
12 bindir=****EDIT-ME to be the path to psql****
\r
14 $bindir/psql $* -f fix_postgresql_tables.sql
\r
15 if ERRORLEVEL 1 GOTO :ERROR
\r
16 echo "Update of Bacula PostgreSQL tables succeeded."
\r
21 echo "Update of Bacula PostgreSQL tables failed."
\r