pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adnan DURSUN <a_dursun@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: LISTEN / NOTIFY Feature
Date: Fri, 1 Jun 2007 11:57:52 -0700
Message-ID: <BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl> (raw)
References: <1180628545.15060.26.camel@mca-desktop>
	<BAY106-DAV208DE232CB02295A87BEC5FA2D0@phx.gbl>
	<465F6CC2.8080301@tpf.co.jp>

----- Original Message ----- 
From: "Hiroshi Inoue" <inoue@tpf.co.jp>
To: "Adnan DURSUN" <a_dursun@hotmail.com>
Cc: <pgsql-odbc@postgresql.org>
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. 




Message-ID: <BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl>
Permalink:  ../BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl/
Also on:    postgresql.org/message-id/BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: a_dursun@hotmail.com
  Subject: Re: LISTEN / NOTIFY Feature
  In-Reply-To: <BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl>
  References: <1180628545.15060.26.camel@mca-desktop> <BAY106-DAV208DE232CB02295A87BEC5FA2D0@phx.gbl> <465F6CC2.8080301@tpf.co.jp> <BAY106-DAV7F34D2271EB92DA9CCFEAFA2C0@phx.gbl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox