Re: libpgtcl.dll for Windows

From: Constantin Teodorescu <teo(at)flex(dot)ro>
To: Joost Kraaijeveld <JKraaijeveld(at)askesis(dot)nl>
Cc: Pgsql-Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>, PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>, Inoue(at)tpf(dot)co(dot)jp
Subject: Re: libpgtcl.dll for Windows
Date: 1998-12-08 07:38:11
Message-ID: 366CD763.E306162B@flex.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Joost Kraaijeveld wrote:
>
> > PS. A lot of people are asking me if there is a libpgtcl.dll for M$
> > Windows. The pgtcl package, written in pure Tcl/Tk is working but it's
> > very slooooow. Is there any chance that someone could try to port the
> > libpgtcl library for Windows ?

> I tried but the functions
> Tcl_CreateFileHandler(/usr/src/pgsql/src/interfaces/libpgtcl/pgtclId.c:679)
> and Tcl_DeleteFileHandler
> (/usr/src/pgsql/src/interfaces/libpgtcl/pgtclId.c:701) were removed for
> non-Unix platforms as of tcl/tk8.0b1 (or thereabouts). I am no tcl expert so
> I will not try to change that but I got the advise to start with
> Tcl_MakeFileChannel. If you (Constatin) can make the change I will
> incorporate that in the Windows NT port.

Unfortunately, (for Windows PgAccess users :-) but very convenient for
me and my company) my company has completely switched from Microsoft
Windows to Linux so I cannot test or compile libpgtcl for Windows with
your above suggestions.

I don't know where that functions are used, but if they are used in
functions concerning large objects, I think that we could just ignore
them and prepare a tiny libpgtcl.dll just for PgAccess use, taking into
account that PgAccess is not using large object functions.

On the other hand, Hiroshi Inoue Inoue(at)tpf(dot)co(dot)jp informed me that he
succeeded in compiling libgtcl for Windows in PostgreSQL 6.4 beta
distribution and he could probably do that for current 6.4 tree. If this
would be possible, we may expect that the next 6.4.1 distribution will
contain also PgAccess available for Windows users.

Anyhow, I will just wait for a sign from you or from any other developer
who is able to compile and test libpgtcl.dll against PgAccess and send
to me the libpq.dll and libpgtcl.dll in order to includ them in pgaccess
distribution kit.

All the best,
--
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1998-12-08 08:45:34 memory destruction in 6.4
Previous Message Joost Kraaijeveld 1998-12-08 07:01:11 RE: [INTERFACES] PgAccess stable version 0.92 released !

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter T Mount 1998-12-08 08:58:31 Problems
Previous Message Joost Kraaijeveld 1998-12-08 07:01:11 RE: [INTERFACES] PgAccess stable version 0.92 released !