Unix Technical Forum

[ psqlodbc-Bugs-1005624 ] The limitation for number of connection with ODBC driver

This is a discussion on [ psqlodbc-Bugs-1005624 ] The limitation for number of connection with ODBC driver within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> Bugs item #1005624, was opened at 2007-05-29 09:21 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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:19 PM
noreply@pgfoundry.org
 
Posts: n/a
Default [ psqlodbc-Bugs-1005624 ] The limitation for number of connection with ODBC driver

Bugs item #1005624, was opened at 2007-05-29 09:21
You can respond by visiting:
http://pgfoundry.org/tracker/?func=d...oup_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Dmitry Dmitriev (dmitry_12)
Assigned to: Hiroshi Saito (h-saito)
Summary: The limitation for number of connection with ODBC driver

Initial Comment:
We have the big trouble, when our application try to open number of
connection more than 128 with psqlODBC-08_02_0200 driver.

The following file fragment psqlodbc.h from official PostgreSQL web site:
http://wwwmaster.postgresql.org/down...02.0400.tar.gz

....
#define MAX_MESSAGE_LEN 65536 /* This puts a limit on
* query size but I don't */
/* see an easy way round this - DJP 24-1-2001 */
#define MAX_CONNECT_STRING 4096
#define ERROR_MSG_LENGTH 4096
#define FETCH_MAX 100 /* default number of rows to cache
* for declare/fetch */
#define TUPLE_MALLOC_INC 100
#define SOCK_BUFFER_SIZE 4096 /* default socket buffer
* size */
#define MAX_CONNECTIONS 128 /* conns per environment
* (arbitrary) */
#define MAX_FIELDS 512
#define BYTELEN 8
#define VARHDRSZ sizeof(Int4)
....

We need at least 2048 connections for our application.
Can you help us to solve the problem?

Thank you,
Dmitry Dmitriev
Technical Director
Magistral LLC.

email: dydmitriev@yahoo.com


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

>Comment By: Hiroshi Inoue (hinoue)

Date: 2007-05-30 06:21

Message:
Could you try the the drivers on testing for 8.2.0402
at http://www.geocities.jp/inocchichichi/psqlodbc/
?

regards,
Hiroshi Inoue

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

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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

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 10:34 AM.


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