Thread

  1. Re: libpgtcl.dll for Windows

    Constantin Teodorescu <teo@flex.ro> — 1998-12-08T07:38:11Z

    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@tpf.co.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