Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A397C9FB6DD for ; Tue, 29 May 2007 06:21:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 21025-06 for ; Tue, 29 May 2007 06:20:58 -0300 (ADT) Received: from pgfoundry.org (pgfoundry.org [200.46.204.130]) by postgresql.org (Postfix) with ESMTP id 42CFE9FB204 for ; Tue, 29 May 2007 06:21:02 -0300 (ADT) Received: from localhost (unknown [200.46.204.183]) by pgfoundry.org (Postfix) with ESMTP id 49A572170A5; Tue, 29 May 2007 09:21:02 +0000 (UTC) Received: from pgfoundry.org ([200.46.204.130]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 96499-07; Tue, 29 May 2007 06:21:02 -0300 (ADT) Received: by pgfoundry.org (Postfix, from userid 80) id D181D217092; Tue, 29 May 2007 09:21:01 +0000 (UTC) To: noreply@pgfoundry.org From: Subject: [ psqlodbc-Bugs-1005624 ] The limitation for number of connection with ODBC driver Content-type: text/plain; charset=UTF-8 Message-Id: <20070529092101.D181D217092@pgfoundry.org> Date: Tue, 29 May 2007 09:21:01 +0000 (UTC) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/64 X-Sequence-Number: 8977 Bugs item #1005624, was opened at 2007-05-29 13:21 You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1005624&group_id=1000125 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Dmitry Dmitriev (dmitry_12) Assigned to: Nobody (None) 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/download/mirrors-ftp?file=%2Fodbc%2Fversions%2Fsrc%2Fpsqlodbc-08.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 ---------------------------------------------------------------------- You can respond by visiting: http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1005624&group_id=1000125