aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pl/tcl/test/runtest4
-rw-r--r--src/pl/tcl/test/test_mklang.sql9
2 files changed, 2 insertions, 11 deletions
diff --git a/src/pl/tcl/test/runtest b/src/pl/tcl/test/runtest
index 08b55e1b1b9..d1cfb330826 100755
--- a/src/pl/tcl/test/runtest
+++ b/src/pl/tcl/test/runtest
@@ -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
index 48176f48503..00000000000
--- a/src/pl/tcl/test/test_mklang.sql
+++ /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';
-