Re: Connection Timeout

From: Mike Toews <mwtoews(at)gmail(dot)com>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Connection Timeout
Date: 2010-06-03 17:02:33
Message-ID: AANLkTikctmNWPAkJRCrWk0eKd6mioU3Pai2nJ1xjVyCl@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 3 June 2010 08:55, Hiroshi Inoue <inoue(at)tpf(dot)co(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2010-06-04 12:50:17 [ psqlodbc-Bugs-1010837 ] 2000 is returned instead of actual info for char column octet length and column size
Previous Message Hiroshi Inoue 2010-06-03 15:55:47 Re: Connection Timeout