Re: Does the psqlodbc driver support asynchronous queries?

Поиск
Список
Период
Сортировка
От Juan Tiritas
Тема Re: Does the psqlodbc driver support asynchronous queries?
Дата
Msg-id CABEPBqPf_RxqLYXass45GTEfeZWXegN=Q3iEbCSKJmE-M8EHHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Does the psqlodbc driver support asynchronous queries?  (Clemens Ladisch <clemens@ladisch.de>)
Список 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 по дате отправления:

Предыдущее
От: "Inoue, Hiroshi"
Дата:
Сообщение: Re: Out of memory while reading tuples
Следующее
От: Markus Angst
Дата:
Сообщение: Re: Out of memory while reading tuples