#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/bin/createlang/Attic/createlang.sh,v 1.1 1999/05/20 16:50:00 wieck Exp $
+# $Header: /cvsroot/pgsql/src/bin/createlang/Attic/createlang.sh,v 1.2 1999/07/09 17:57:46 momjian Exp $
#
#-------------------------------------------------------------------------
fi
if [ ! -z "$res" ]; then
echo "The language '$langname' is already installed in database $dbname"
- exit 1
+ exit 2
fi
# ----------
#!/bin/sh
-# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.30 1999/06/14 17:49:06 tgl Exp $
+# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.31 1999/07/09 17:57:46 momjian Exp $
#
if [ $# -eq 0 ]
then
echo "=============== installing PL/pgSQL... ================="
createlang $HOST plpgsql regression
-if [ $? -ne 0 ]; then
+if [ $? -ne 0 -a $? -ne 2 ]; then
echo createlang failed
exit 1
fi