mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
update pltcl test to have at least some chance of running ... still
seems to be busted though ...
This commit is contained in:
parent
a2c6bf5a59
commit
139f19c302
@ -4,13 +4,13 @@ DBNAME=pltcl_test
|
|||||||
export DBNAME
|
export DBNAME
|
||||||
|
|
||||||
echo "**** Destroy old database $DBNAME ****"
|
echo "**** Destroy old database $DBNAME ****"
|
||||||
destroydb $DBNAME
|
dropdb $DBNAME
|
||||||
|
|
||||||
echo "**** Create test database $DBNAME ****"
|
echo "**** Create test database $DBNAME ****"
|
||||||
createdb $DBNAME
|
createdb $DBNAME
|
||||||
|
|
||||||
echo "**** Create procedural language pltcl ****"
|
echo "**** Create procedural language pltcl ****"
|
||||||
psql -q -n $DBNAME <test_mklang.sql
|
createlang pltcl $DBNAME
|
||||||
|
|
||||||
echo "**** Create tables, functions and triggers ****"
|
echo "**** Create tables, functions and triggers ****"
|
||||||
psql -q -n $DBNAME <test_setup.sql
|
psql -q -n $DBNAME <test_setup.sql
|
||||||
|
@ -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';
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user