Обсуждение: Re: NOTIFY/LISTEN with ODBC interface

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

Re: NOTIFY/LISTEN with ODBC interface

От
Igor Korot
Дата:
Hi,

On Mon, Dec 24, 2018 at 5:25 AM Danny Severns <Danny@eidl-sw.com> 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 <ikorot01@gmail.com>
> Sent: Sunday, December 23, 2018 9:37 PM
> To: PostgreSQL ODBC list <pgsql-odbc@postgresql.org>; pgsql-general <pgsql-general@postgresql.org>
> 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
Дата:
Hi,

On Mon, Dec 24, 2018 at 5:25 AM Danny Severns <Danny@eidl-sw.com> 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 <ikorot01@gmail.com>
> Sent: Sunday, December 23, 2018 9:37 PM
> To: PostgreSQL ODBC list <pgsql-odbc@postgresql.org>; pgsql-general <pgsql-general@postgresql.org>
> 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
Дата:
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
Дата:
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
Дата:
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
Дата:
Hi, Clemens, et al,

On Tue, Dec 25, 2018 at 12:23 AM Clemens Ladisch <clemens@ladisch.de> 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
Дата:
Hi, Clemens, et al,

On Tue, Dec 25, 2018 at 12:23 AM Clemens Ladisch <clemens@ladisch.de> 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