Re: Connection Timeout - Mailing list pgsql-odbc

From Mike Toews
Subject Re: Connection Timeout
Date
Msg-id AANLkTikctmNWPAkJRCrWk0eKd6mioU3Pai2nJ1xjVyCl@mail.gmail.com
Whole thread Raw
In response to Re: Connection Timeout  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
On 3 June 2010 08:55, Hiroshi Inoue <inoue@tpf.co.jp> wrote:

Please set the ConnectionTimeout preperty not the CommandTimeout one.
It seems to work here.

 
Ah, of course (they almost look the same). That solution works for VB (ADO).

As for pyodbc, I can make a timeout function (e.g., http://nick.vargish.org/clues/python-tricks.html) and I'll probably ask/request on their list about a connection_timeout property.

Thanks for your help.

-Mike 

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Connection Timeout
Next
From:
Date:
Subject: [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size