Re: Does the psqlodbc driver support asynchronous queries?

Juan Tiritas <[email protected]> Wed, 7 Nov 2018 07:55:35 +0100
Newsgroups gmane.comp.db.postgresql.odbc
Message-ID <CABEPBqPf_RxqLYXass45GTEfeZWXegN=Q3iEbCSKJmE-M8EHHg@mail.gmail.com>
Thanks for your answer, Clemens.

You're right, I've tried SQLGetInfo and the function returns SQL_AM_NONE.

I will try libpq because my middleware needs asynchronous access.


Regards,
Juan Tiritas

El mar., 6 nov. 2018 a las 18:51, Clemens Ladisch (<[email protected]>)
escribió:

> Juan Tiritas wrote:
> > Am I doing something wrong
>
> <
> https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/asynchronous-execution-polling-method
> >
> says:
> | To find out which one is supported, an application calls SQLGetInfo with
> an option
> | of SQL_ASYNC_MODE. SQL_AM_CONNECTION is returned if connection-level
> asynchronous
> | execution (for a statement handle) is supported; SQL_AM_STATEMENT if
> statement-
> | level asynchronous execution is supported.
>
> > or the postgres odbc driver does not support asynchronous calls through
> unixODBC?
>
> It returns SQL_AM_NONE.
>
>
> Regards,
> Clemens
>
>