Re: Pltcl error - could not create "normal" interpreter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Lenorovitz, Joel" <Joel(dot)Lenorovitz(at)usap(dot)gov>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pltcl error - could not create "normal" interpreter
Date: 2006-12-13 18:35:24
Message-ID: 10106.1166034924@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Lenorovitz, Joel" <Joel(dot)Lenorovitz(at)usap(dot)gov> writes:
> 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

I was able to reproduce the "could not create "normal" interpreter"
behavior after removing "init.tcl" from the Tcl library directory.
Unfortunately, it seems that this breaks Tcl badly enough that it's
not capable of returning a useful error message :-( --- the fact that
our code doesn't make any attempt to print the interpreter result
is probably Not Good, but when I changed it to do so, I still didn't
get anything but an empty string ...

So the short answer is "install Tcl per its directions".

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jon Asher 2006-12-13 18:36:41 EXECUTE INTO on 8.2
Previous Message Joshua D. Drake 2006-12-13 18:30:41 Re: MySQL drops support for most distributions