Re: PL/Tcl: internal error - cannot create 'normal' interpreter - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: PL/Tcl: internal error - cannot create 'normal' interpreter
Date
Msg-id 4873.1051238452@sss.pgh.pa.us
Whole thread Raw
In response to PL/Tcl: internal error - cannot create 'normal' interpreter  (Fabian Peters <fabian@ngi.de>)
Responses Re: PL/Tcl: internal error - cannot create 'normal'
List pgsql-interfaces
Fabian Peters <fabian@ngi.de> writes:
>> ERROR:  pltcl: internal error - cannot create 'normal' interpreter

> Any ideas as to what might be the problem or how to get some more detailed
> info greatly appreciated...

Apparently Tcl_CreateSlave() is failing.  Although it doesn't say so on
its man page, it seems likely to me that the parent interpreter's result
would be set to a possibly-useful error message.  You might try adding
code to pltcl.c to add the "hold" interpreter's result to this error
message.

We've heard other reports of strange failures involving Tcl_CreateSlave,
but AFAIR the other ones prevented pltcl.so from even getting linked.
If you learn anything I'd like to hear about it...
        regards, tom lane



pgsql-interfaces by date:

Previous
From: "Nuno D. Leitao"
Date:
Subject: Connecting from Java to PostgreSQL
Next
From: "Andreas Schönbach"
Date:
Subject: Will libpq++ still be supported in 7.3.x?