Skip site navigation (1) Skip section navigation (2)

Re: Cygwin PostgreSQL with TCL support (was Re: hi)

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: guard(at)ficnet(dot)net
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cygwin PostgreSQL with TCL support (was Re: hi)
Date: 2001-06-22 06:31:31
Message-ID: 3D85CFB1.3CFC517E.00013D13@netscape.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
"guard" <guard(at)ficnet(dot)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 interfaces mailist may help you more at this point.

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

In response to

pgsql-cygwin by date

Next:From: Sergio RamosDate: 2001-06-23 23:32:50
Subject: A doubt about java connection...
Previous:From: Ana Carolina Alonso de ArmiñoDate: 2001-06-21 22:04:07
Subject: postgres 7.0.3 with SuSE 7.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group