#!/bin/bash DIRNAME=`dirname $0` echo "[Determining tables size for pgsql tables]" /usr/local/pgsql/bin/psql -U sapostgres -f $DIRNAME/analyze.sql spamassassin