summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2000-07-17 02:22:50 +0000
committerTom Lane2000-07-17 02:22:50 +0000
commit139f19c30221968e7d3bf64fe303cb41517e4601 (patch)
treefd0dced79fba642d62a2a0017d348b61dfa1c26f /src
parenta2c6bf5a59ee4f8f2989368217f49c10165027c0 (diff)
update pltcl test to have at least some chance of running ... still
seems to be busted though ...
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';
-