5
echo " you must specify a valid data directory " >&2
12
echo =============== destroying old bench database... =================
13
echo "drop database bench" | postgres -D"$1" postgres > /dev/null
15
echo =============== creating new bench database... =================
16
echo "create database bench" | postgres -D"$1" postgres > /dev/null
22
postgres -D${1} bench < create.sql > /dev/null
24
echo initial database load failed