Re: Does the psqlodbc driver support asynchronous queries? - Mailing list pgsql-odbc

From Juan Tiritas
Subject Re: Does the psqlodbc driver support asynchronous queries?
Date
Msg-id CABEPBqPf_RxqLYXass45GTEfeZWXegN=Q3iEbCSKJmE-M8EHHg@mail.gmail.com
Whole thread Raw
In response to Re: Does the psqlodbc driver support asynchronous queries?  (Clemens Ladisch <clemens@ladisch.de>)
List pgsql-odbc
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 (<clemens@ladisch.de>) 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

pgsql-odbc by date:

Previous
From: "Inoue, Hiroshi"
Date:
Subject: Re: Out of memory while reading tuples
Next
From: Markus Angst
Date:
Subject: Re: Out of memory while reading tuples