2 # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.1.1.1 1996/07/09 06:22:24 scrappy Exp $
9 FRONTEND="psql -n -e -q"
11 echo =============== destroying old regression database... =================
14 echo =============== creating new regression database... =================
21 $FRONTEND regression < create.sql
23 echo the creation script has an error
27 echo =============== running regression queries ... =================
28 $FRONTEND regression < queries.sql
30 echo the queries script causes an error
34 echo =============== running error queries ... =================
35 $FRONTEND regression < errors.sql
37 echo the errors script has an unanticipated problem
41 #set this to 1 to avoid clearing the database
44 if test "$debug" -eq 1
46 echo Skipping clearing and deletion of the regression database
48 echo =============== clearing regression database... =================
49 $FRONTEND regression < destroy.sql
51 echo the destroy script has an error
56 echo =============== destroying regression database... =================