From: noreply@pgfoundry.org
To: noreply@pgfoundry.org
Subject: [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented
Date: Sun, 2 Jul 2006 23:06:29 +0000 (UTC)
Message-ID: <20060702230629.E44D186C5DD@pgfoundry.org> (raw)
Bugs item #1000678, was opened at 2006-07-02 23:06
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000678&group_id=1000125
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Timeout Not Implemented
Initial Comment:
I am wanting to change the connection timeout value. However, from the source code I see that it is not implemented. Considering that pqlib implements a connect_timeout option, this would be an easy (and very useful) thing to do. I would fix it myself but I don't have a Windows development platform.
options.c: case SQL_LOGIN_TIMEOUT: /* ignored */
options.c: case SQL_LOGIN_TIMEOUT: /* NOT SUPPORTED */
http://www.postgresql.org/docs/7.4/static/libpq.html#LIBPQ-CONNECT
see diff file:
1723,1727c1723
< /* added by BCK Sun Jul 2 22:22:24 BST 2006 */
< conninfo = strcat(conninfo," connect_timeout=2");
< /* this should be fixed to work
< conninfo = strcat(conninfo,self->connInfo.connect_timeout);
< */
---
>
----------------------------------------------------------------------
You can respond by visiting:
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000678&group_id=1000125
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: noreply@pgfoundry.org
Subject: Re: [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented
In-Reply-To: <20060702230629.E44D186C5DD@pgfoundry.org>
References: <20060702230629.E44D186C5DD@pgfoundry.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox