Re: Does the psqlodbc driver support asynchronous queries?

From: Juan Tiritas <juantiritas(at)gmail(dot)com>
To: clemens(at)ladisch(dot)de
Cc: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: Does the psqlodbc driver support asynchronous queries?
Date: 2018-11-07 06:55:35
Message-ID: CABEPBqPf_RxqLYXass45GTEfeZWXegN=Q3iEbCSKJmE-M8EHHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ladisch(dot)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
>
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Markus Angst 2018-11-07 17:11:57 Re: Out of memory while reading tuples
Previous Message Inoue, Hiroshi 2018-11-07 02:17:59 Re: Out of memory while reading tuples