BUG #14222: psqlODBC driver connection pooling not working for .net codebase

From: pange(dot)akshaya(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14222: psqlODBC driver connection pooling not working for .net codebase
Date: 2016-07-01 12:54:21
Message-ID: 20160701125421.1398.43779@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14222
Logged by: Akshaya Pange
Email address: pange(dot)akshaya(at)gmail(dot)com
PostgreSQL version: 9.5.3
Operating system: Windows 7
Description:

I have my application working on psql ODBC driver, connecting my .net code
to the postgreSQL server and the connection string is as follows:

<add name="abc"
connectionString="DSN=DriverName;UID=U_name;Pwd=Paas;POOLING=true;MIN POOL
SIZE=1;MAX POOL SIZE=25;" providerName="SYSTEM.DATA.ODBC" />

I have set my connection timeout = 120; (in seconds)

I want to maintain the execution process to be upto 25 and not exceeding it.
Hence I used connection pooling. But it is not working. The connection limit
is exceeding the MAX POOL SIZE.

Please help me out on this one. What can I do to get the connection limit to
25 only and not exceeding it.

I am using :

1) .Net 4.0 Version.

2) psqlODBC driver is 9.5.3(64-bit).

3) pg-Admin is 9.5.3.

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-07-01 14:32:33 Re: BUG #14220: pg_get_expr() with an incorrect relation id crashes the server
Previous Message lishengxian123 2016-07-01 03:30:18 BUG #14221: using postgresql 9.1.22 to 9.3.13 failed using pg_upgrade