[unixODBC-support] Postgresql driver and query timeout
nick.gorham at easysoft.com
Tue Jul 31 07:59:18 BST 2007
Bhagya Prasad wrote:
>I am using unixODBC driver for postgresql driver. From the
>implementation I found that SQ_QUERY_TIMEOUT is not supported. Also,
>tested with SQLSetStmtAttr for time out parameter and is not taking
> case SQL_QUERY_TIMEOUT: /* ignored */
> mylog("SetStmtOption: SQL_QUERY_TIMEOUT, vParam = %d\n", vParam);
> /*// "0" returned in SQLGetStmtOption */
>How to get set query timeout working? Are there any alternatives.
You could check in the later driver from the Postgres people, but other
than that, the only option would be to try and code it yourself.
More information about the unixODBC-support