| From: | "Lenorovitz, Joel" <Joel(dot)Lenorovitz(at)usap(dot)gov> | 
|---|---|
| To: | <pgsql-general(at)postgresql(dot)org> | 
| Subject: | Pltcl error - could not create "normal" interpreter | 
| Date: | 2006-12-13 16:50:23 | 
| Message-ID: | 7119BB016BDF6445B20A4B9F14F50B2D44A8E0@WILSON.usap.gov | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-general | 
Greetings,
Could somebody shed any light on the error message below that came from
trying to call a simple pltcl test function?  I am running Postgres 8.1
on WinXP and just recently added the pltcl language by copying Tcl84.dll
into my system directory (C:/Windows/System32) and successfully issuing
the command:
> createlang pltcl -U db_admin postgres
What else do I need to do or configure to enable this full
functionality?
postgres=# create or replace function test_fxn() returns void as $$
postgres$# spi_exec "SELECT * FROM test"
postgres$# $$ language pltcl;
CREATE FUNCTION
postgres=# select test_fxn();
ERROR:  could not create "normal" interpreter
postgres=#
Any help is greatly appreciated and the little that's in the
archives/www is fairly abstruse.  Thanks,
JL
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Goodenough | 2006-12-13 16:50:34 | MySQL drops support for most distributions | 
| Previous Message | Tom Lane | 2006-12-13 16:44:01 | Re: error messages without schema name |