This would best be asked in a postgres forum, but does anyone happen to know if you can use the socket command in PL/Tcl? I know I can use UTL_TCP in Oracle, and ns_sock* in AOLserver.
-T. -----Original Message----- From: Titi Ala'ilima Sent: Tuesday, September 12, 2006 12:41 PM To: AOLSERVER@LISTSERV.AOL.COM Subject: Re: [AOLSERVER] Handling db events in Tcl I'm hoping for faster response than once a minute, but I don't want to have a thread wasting a lot of resources polling too frequently. Which is why Id like it to be asynchronous/event-based. The AOLserver side wouldn't use any resources until explicitly called upon to do so. I'd settle for something using fileevent if the db and nsd shared the same filesystem, but they don't. I'd be up for trying to figure something out with ns_sock if I could be assured that postgres would have some way of opening up a socket and dumping data to it when triggered by a db event. I think I know enough about Oracle to cobble something like that together. -Titi -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.