Re: libpgtcl and WinNT - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: libpgtcl and WinNT
Date
Msg-id 10073.988779464@sss.pgh.pa.us
Whole thread Raw
In response to libpgtcl and WinNT  (Ludek Finstrle <xfinstrl@informatics.muni.cz>)
List pgsql-interfaces
Ludek Finstrle <xfinstrl@informatics.muni.cz> writes:
>   I have compilation problem with libpgtcl from postgresql 7.1 on WinNT.
> The problem was that Tcl/Tk under WinNT doesn't support Tcl_CreateFileHandler
> and Tcl_DeleteFileHandler functions.

Yup.  This is not new in 7.1, it's been like that since Tcl 8.0 came
out.

In their infinite(?) wisdom, the Tcl boys removed all cross-platform
support for waiting for socket input in Tcl 8.0.  Presently libpgtcl
depends on Tcl_CreateFileHandler which is a Unix-only API.  Feel free
to contribute code to implement a Windows-compatible solution (maybe
even a Mac-compatible-too solution, like we used to have pre-Tcl-8).
Or rattle the cage over in Tcl land till they get some sense knocked
back into them.  Or something.  But right now it's busted.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Ludek Finstrle
Date:
Subject: libpgtcl and WinNT
Next
From: Adam Walczykiewicz
Date:
Subject: PL/Perl more examples ...