Re: [ODBC] SQL_QUERY_TIMEOUT - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: [ODBC] SQL_QUERY_TIMEOUT
Date
Msg-id e6c790f4-c3e6-1213-ebf8-90c9a4e56969@dream.email.ne.jp
Whole thread Raw
In response to [ODBC] SQL_QUERY_TIMEOUT  (Ondrej Dzivy Balucha <balucha@horizon.sk>)
Responses Re: [ODBC] SQL_QUERY_TIMEOUT  (Ondrej Dzivy Balucha <balucha@horizon.sk>)
List pgsql-odbc
Hi Ondrej,

On 2017/05/05 22:09, Ondrej Dzivy Balucha wrote:
> Hi,
>
> I found that in psqlODBC 09.05.0300 Release was implemented
> SQL_QUERY_TIMEOUT.
> How it works?

Please call ODBC API like

     SQLSetStmtAttr(hstmt, SQL_ATTR_QUERY_TIMEOUT, (void *) timeout, 0);

regards,
Hiroshi Inoue

> I need to set up odbc connection in Debian, that send me
> error(disconnet dead connection) after defined time, but I can`t find
> how can I setup SQL_QUERY_TIMEOUT in odbc.ini.
> I have installed latest odbc driver(09.06.0200)
>
> Regards



pgsql-odbc by date:

Previous
From: Ondrej Dzivy Balucha
Date:
Subject: [ODBC] SQL_QUERY_TIMEOUT
Next
From: hiroshi@winpg.jp (Hiroshi Saito)
Date:
Subject: [ODBC] psqlODBC 09.06.0300 Released