Skip to content
Snippets Groups Projects
Commit 139f19c3 authored by Tom Lane's avatar Tom Lane
Browse files

update pltcl test to have at least some chance of running ... still

seems to be busted though ...
parent a2c6bf5a
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment