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

Re: Enabling connection pooling by default

From: Andrei Kovalevski <andyk(at)commandprompt(dot)com>
To: Andrus <kobruleht2(at)hot(dot)ee>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: Enabling connection pooling by default
Date: 2008-10-20 17:59:29
Message-ID: 48FCC701.6090109@commandprompt.com (view raw or flat)
Thread:
Lists: pgsql-odbc
Hello,

Thank you for this link. There is no special option to enable connection 
pooling for the driver in the ODBC driver manager's level. Try to set 
some value and you'll see that windows recognizes this feature as 
enabled. I haven't actually test this, did you?

Andrus wrote:
> Andrei,
>
>> I have discovered this problem a little. It seems to me installer has 
>> to set "CPTimeout" registry key  to some integer value. This will 
>> enable pooling by default. Here is this registry key:
>>
>> HKEY_LOCAL_MACHINE\Software\Odbc\Odbcinst.ini\ODBC_driver_name\CPTimeout
>
> According to http://www.15seconds.com/issue/970531.htm
> this only changes pool timeout, it does not turn pooling on.
>
> Andrus.
>


-- 
Andrei Kovalevski
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/


In response to

Responses

pgsql-odbc by date

Next:From: Jonah H. HarrisDate: 2008-10-20 18:35:34
Subject: Re: Enabling connection pooling by default
Previous:From: AndrusDate: 2008-10-20 16:51:02
Subject: Re: Enabling connection pooling by default

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