Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 8032B9F95E1 for ; Fri, 20 Oct 2006 01:01:15 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 28127-08 for ; Fri, 20 Oct 2006 04:01:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 38D0E9FA219 for ; Fri, 20 Oct 2006 01:01:10 -0300 (ADT) Received: from localhost (unknown [200.46.208.251]) by pgfoundry.org (Postfix) with ESMTP id 0CA0B216F22; Fri, 20 Oct 2006 04:01:10 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 35306-09; Fri, 20 Oct 2006 01:01:01 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id 164DB216F41; Fri, 20 Oct 2006 04:00:52 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented Content-type: text/plain; charset=UTF-8 Message-Id: <20061020040052.164DB216F41@pgfoundry.org> Date: Fri, 20 Oct 2006 04:00:52 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.961 tagged_above=0 required=5 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200610/70 X-Sequence-Number: 8333 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: Closed Resolution: None Priority: 3 Submitted By: Nobody (None) >Assigned to: Hiroshi Inoue (hinoue) 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); < */ --- > ---------------------------------------------------------------------- Comment By: Hiroshi Inoue (hinoue) Date: 2006-07-14 06:48 Message: Please try the dll at http://www.geocities.jp/inocchichichi/psqlodbc/index.html . regards, Hiroshi Inoue ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000678&group_id=1000125