Unix Technical Forum

[ psqlodbc-Bugs-1000678 ] Timeout Not Implemented

This is a discussion on [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Bugs item #1000678, was opened at 2006-07-02 23:06 You can respond by visiting: http://pgfoundry.org/tracker/?func=d...oup_id=1000125 Category: None Group: None >Status: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 03:10 AM
noreply@pgfoundry.org
 
Posts: n/a
Default [ psqlodbc-Bugs-1000678 ] Timeout Not Implemented

Bugs item #1000678, was opened at 2006-07-02 23:06
You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_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/s...#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/inocchichich...dbc/index.html
..

regards,
Hiroshi Inoue

----------------------------------------------------------------------

You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:52 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com