#!/bin/sh # # Shell script to fix PostgreSQL tables in version 8 # echo " " echo "This script will fix a Bacula PostgreSQL database version 8" echo "Depending on the size of your database," echo "this script may take several minutes to run." echo " " # # Set the following to the path to psql. bindir=****EDIT-ME to be the path to psql**** if $bindir/psql $* -f - <