Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id A3FB69FBA08 for ; Fri, 1 Jun 2007 05:58:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 66613-01 for ; Fri, 1 Jun 2007 05:58:16 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from bay0-omc3-s9.bay0.hotmail.com (bay0-omc3-s9.bay0.hotmail.com [65.54.246.209]) by postgresql.org (Postfix) with ESMTP id 0B6439FB568 for ; Fri, 1 Jun 2007 05:58:19 -0300 (ADT) Received: from hotmail.com ([65.54.161.79]) by bay0-omc3-s9.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 1 Jun 2007 01:58:18 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 1 Jun 2007 01:58:18 -0700 Message-ID: Received: from 85.105.24.123 by BAY106-DAV7.phx.gbl with DAV; Fri, 01 Jun 2007 08:58:18 +0000 X-Originating-IP: [85.105.24.123] X-Originating-Email: [a_dursun@hotmail.com] X-Sender: a_dursun@hotmail.com From: "Adnan DURSUN" To: References: <1180628545.15060.26.camel@mca-desktop> <465F6CC2.8080301@tpf.co.jp> Subject: Re: LISTEN / NOTIFY Feature Date: Fri, 1 Jun 2007 11:57:52 -0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-9"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-OriginalArrivalTime: 01 Jun 2007 08:58:18.0663 (UTC) FILETIME=[FF911B70:01C7A42A] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.829 tagged_above=0 required=5 tests=AWL=-0.748, BAYES_50=0.001, DATE_IN_FUTURE_06_12=1.668, DNS_FROM_RFC_ABUSE=0.2, DNS_FROM_RFC_POST=1.708, MSGID_FROM_MTA_HEADER=0 X-Spam-Level: ** X-Archive-Number: 200706/1 X-Sequence-Number: 8990 ----- Original Message ----- From: "Hiroshi Inoue" To: "Adnan DURSUN" Cc: Sent: Thursday, May 31, 2007 5:48 PM Subject: Re: [ODBC] LISTEN / NOTIFY Feture > Adnan DURSUN wrote: >> >> Hi all, >> >> I am using VB6 for frontend. Does pgsqlODBC support PostgreSQL LISTEN >> / NOTIFY feature ? > > Currently not. > How do you expect to handle LISTEN/NOTIFY using ODBC ? > I dont know how. I think another problem to handle this is ADO !... ADO doesnt have any event that will be raised when a notifications arrived to client. I consider, maybe another way is to listen the port that ODBC communicates with database on client machine. But, windows doesnt allow to listen that port. It says "port is buys" when i try to listen that port. Maybe it is possibble to make a second conneciton to database beyond ODBC in the same app using winsock. But, libpg.dll coulnd not be used with inVB6. When i tried this i got "Bad DLL calling convention" message ! So, i didnt find any way to do this !! Best regards Adnan DURSUN ASRIN Biližim Ltd.