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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-cygwin by date

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