Re: NOTIFY/LISTEN with ODBC interface

Поиск
Список
Период
Сортировка
Искать

Re: NOTIFY/LISTEN with ODBC interface

От:
Igor Korot <ikorot01@gmail.com>
Дата:
Hi,

On Mon, Dec 24, 2018 at 5:25 AM Danny Severns  wrote:
>
> Is your question "can it be done" or "is someone willing to do it" or both?

Pretty much both.

Looking at the sample on the page it retrieves the connection socket.
And I know that there is no ODBC function that can retrieve this.

So can this be done with ODBC interface, and if yes - how?

Thank you.

>
> -----Original Message-----
> From: Igor Korot 
> Sent: Sunday, December 23, 2018 9:37 PM
> To: PostgreSQL ODBC list ; pgsql-general 
> Subject: NOTIFY/LISTEN with ODBC interface
>
> Hi,
> Is there a way to write a code found at
> https://www.postgresql.org/docs/9.1/libpq-example.html
> Example 2 with the ODBC interface?
>
> Thank you.
>

Re: NOTIFY/LISTEN with ODBC interface

От:
Igor Korot <ikorot01@gmail.com>
Дата:
Hi,

On Mon, Dec 24, 2018 at 5:25 AM Danny Severns  wrote:
>
> Is your question "can it be done" or "is someone willing to do it" or both?

Pretty much both.

Looking at the sample on the page it retrieves the connection socket.
And I know that there is no ODBC function that can retrieve this.

So can this be done with ODBC interface, and if yes - how?

Thank you.

>
> -----Original Message-----
> From: Igor Korot 
> Sent: Sunday, December 23, 2018 9:37 PM
> To: PostgreSQL ODBC list ; pgsql-general 
> Subject: NOTIFY/LISTEN with ODBC interface
>
> Hi,
> Is there a way to write a code found at
> https://www.postgresql.org/docs/9.1/libpq-example.html
> Example 2 with the ODBC interface?
>
> Thank you.
>

NOTIFY/LISTEN with ODBC interface

От:
Igor Korot <ikorot01@gmail.com>
Дата:
Hi,
Is there a way to write a code found at
https://www.postgresql.org/docs/9.1/libpq-example.html
Example 2 with the ODBC interface?

Thank you.

Re: NOTIFY/LISTEN with ODBC interface

От:
Clemens Ladisch <clemens@ladisch.de>
Дата:
Igor Korot wrote:
>Is there a way to write [LISTEN/NOTIFY] with the ODBC interface?

At the moment, no.

ODBC is a standard interface, so there are no functions for this defined.

It might be possible to add PG-specific extensions to the ODBC driver,
but this has not (yet) be done.


Regards,
Clemens

Re: NOTIFY/LISTEN with ODBC interface

От:
Clemens Ladisch <clemens@ladisch.de>
Дата:
Igor Korot wrote:
>Is there a way to write [LISTEN/NOTIFY] with the ODBC interface?

At the moment, no.

ODBC is a standard interface, so there are no functions for this defined.

It might be possible to add PG-specific extensions to the ODBC driver,
but this has not (yet) be done.


Regards,
Clemens

Re: NOTIFY/LISTEN with ODBC interface

От:
Igor Korot <ikorot01@gmail.com>
Дата:
Hi, Clemens, et al,

On Tue, Dec 25, 2018 at 12:23 AM Clemens Ladisch  wrote:
>
> Igor Korot wrote:
> >Is there a way to write [LISTEN/NOTIFY] with the ODBC interface?
>
> At the moment, no.
>
> ODBC is a standard interface, so there are no functions for this defined.
>
> It might be possible to add PG-specific extensions to the ODBC driver,
> but this has not (yet) be done.

Thank you for the reply.
I guess I will just have to implement minimal schema watching algorithm.


>
>
> Regards,
> Clemens

Re: NOTIFY/LISTEN with ODBC interface

От:
Igor Korot <ikorot01@gmail.com>
Дата:
Hi, Clemens, et al,

On Tue, Dec 25, 2018 at 12:23 AM Clemens Ladisch  wrote:
>
> Igor Korot wrote:
> >Is there a way to write [LISTEN/NOTIFY] with the ODBC interface?
>
> At the moment, no.
>
> ODBC is a standard interface, so there are no functions for this defined.
>
> It might be possible to add PG-specific extensions to the ODBC driver,
> but this has not (yet) be done.

Thank you for the reply.
I guess I will just have to implement minimal schema watching algorithm.


>
>
> Regards,
> Clemens

FAQ