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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-odbc by date

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