| From: | Mike Toews <mwtoews(at)gmail(dot)com> |
|---|---|
| To: | pgsql-odbc(at)postgresql(dot)org |
| Subject: | Connection Timeout |
| Date: | 2010-05-31 23:13:30 |
| Message-ID: | AANLkTin4MIcnAuT7VDVjBTdMMUgFkB8SxWBlId5Vgwi1@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-odbc |
Hi,
It doesn't appear there is a connection timeout parameter (e.g.,
ConnString="...;Timeout=5;..."), so I'm not sure how to throw an error
quicker if the driver cannot connect to the host:port. I'm waiting about 18
seconds, which I'd like to reduce to 5 seconds to streamline my program
startup if the postgres server is not available. Did I read the
documentation incorrectly, or are there any plans to introduce a Timeout
parameter? I'm using the latest version (08.04.0200).
There was a similar unanswered question a while ago:
http://archives.postgresql.org/pgsql-odbc/2003-06/msg00025.php
-Mike
| From | Date | Subject | |
|---|---|---|---|
| Next Message | noreply | 2010-06-01 03:17:02 | [ psqlodbc-Bugs-1010833 ] '--without-iodbc' enables iodbc support |
| Previous Message | Hiroshi Saito | 2010-05-28 17:43:43 | Re: Question about building for Windows |