[ psqlodbc-Bugs-1000678 ] Timeout Not Implemented - Mailing list pgsql-odbc

From
Subject [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented
Date
Msg-id 20061020040052.164DB216F41@pgfoundry.org
Whole thread Raw
List pgsql-odbc
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.
Consideringthat pqlib implements a connect_timeout option, this would be an easy (and very useful) thing to do. I would
fixit 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

pgsql-odbc by date:

Previous
From:
Date:
Subject: [ psqlodbc-Bugs-1000719 ] string representation for large objects ist wrong
Next
From:
Date:
Subject: [ psqlodbc-Bugs-1000635 ] Failure with 08.02.0002 / 8.1.3: Cannot read ints of that length