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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Mon, 20 Oct 2008 20:59:29 +0300
  • Message-id: <48FCC701.6090109@commandprompt.com> <text/plain>

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/




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group