Re: Cygwin PostgreSQL with TCL support (was Re: hi) - Mailing list pgsql-cygwin

From s0lao@netscape.net (S. L.)
Subject Re: Cygwin PostgreSQL with TCL support (was Re: hi)
Date
Msg-id 3D85CFB1.3CFC517E.00013D13@netscape.net
Whole thread Raw
In response to Re: Cygwin PostgreSQL with TCL support (was Re: hi)  (s0lao@netscape.net (S. L.))
List pgsql-cygwin
"guard" <guard@ficnet.net> wrote:
>
> Dear SLao
>
> sorry,I had remove @VALUE@
> and
> RUN "dllwrap -o pltcl.dll --def pltcl.def pltcl.o
> ../../../src/utils/dllinit.o -lcygipc -lcrypt -ltcl80 -L../../backend -lpost
>
> have get pltcl.dll
> but call function is error
>
> create function pltcl_call_handler() returns opaque
> as '/lib/pltcl.dll'
> language 'C';    ...........................is OK
>
> create trusted procedural language 'pltcl'
> handler pltcl_call_handler
> lancompiler 'PL/Tcl';      .............................. is OK
>
> CREATE FUNCTION to_zero(float8) RETURNS float8  AS '
>         return $1
>     ' LANGUAGE 'pltcl';        ......................... is OK
>
> select to_zero(5)   ..............not ok
> Error: ERROR:  pltcl: internal error - cannot create 'normal' interpreter
>

I think you must stop your posts here. From here, my own experience with using PL/TCL is weak. Maybe the general or the
interfacesmailist may help you more at this point. 

                 SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

pgsql-cygwin by date:

Previous
From: Ana Carolina Alonso de Armiño
Date:
Subject: postgres 7.0.3 with SuSE 7.1
Next
From: "Sergio Ramos"
Date:
Subject: A doubt about java connection...