Skip site navigation (1) Skip section navigation (2)

can't open more than 128 connections

From: Amir Zicherman <amir(dot)zicherman(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: can't open more than 128 connections
Date: 2005-06-20 05:39:44
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc

I'm trying to open 300 connections to a database using Microsoft odbc
.NET and psqlodbc.  At the 129th connection attempt i get an

{"ERROR [IM005] [Microsoft][ODBC Driver Manager] Driver's
SQLAllocHandle on SQL_HANDLE_DBC failed" }
State: "IM005"

I know that my db can take over 300 connections without using the odbc
driver because i open 300 connections with psql with no problem.  Is
there some config param i need to set on the connection string so that
i can take more connections?  what am i doing wrong?

thank you, amir

pgsql-odbc by date

Next:From: James ShawDate: 2005-06-20 12:30:38
Subject: Re: {? = call myfunc(?,?)} syntax for set-returning functions
Previous:From: NoelDate: 2005-06-17 19:45:10
Subject: Re: Can I specify a SCHEMA in the ODBC string?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group