]> granicus.if.org Git - postgresql/commitdiff
update pltcl test to have at least some chance of running ... still
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Jul 2000 02:22:50 +0000 (02:22 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 17 Jul 2000 02:22:50 +0000 (02:22 +0000)
seems to be busted though ...

src/pl/tcl/test/runtest
src/pl/tcl/test/test_mklang.sql [deleted file]

index 08b55e1b1b9f12e7b5ab60f4bfd67fd561d27c21..d1cfb3308263c643cce2518db3c5ca8860ce4c02 100755 (executable)
@@ -4,13 +4,13 @@ DBNAME=pltcl_test
 export DBNAME
 
 echo "**** Destroy old database $DBNAME ****"
-destroydb $DBNAME
+dropdb $DBNAME
 
 echo "**** Create test database $DBNAME ****"
 createdb $DBNAME
 
 echo "**** Create procedural language pltcl ****"
-psql -q -n $DBNAME <test_mklang.sql
+createlang pltcl $DBNAME
 
 echo "**** Create tables, functions and triggers ****"
 psql -q -n $DBNAME <test_setup.sql
diff --git a/src/pl/tcl/test/test_mklang.sql b/src/pl/tcl/test/test_mklang.sql
deleted file mode 100644 (file)
index 48176f4..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-
-create function pltcl_call_handler() returns opaque
-       as '/usr/local/pgsql/lib/pltcl.so'
-       language 'C';
-
-create trusted procedural language 'pltcl'
-       handler pltcl_call_handler
-       lancompiler 'PL/Tcl';
-