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.