pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Patrick Donelan <pdonelan@optusnet.com.au>
Cc: pgsql-odbc@postgresql.org
Subject: Re: psqlODBC with Visual Studio 2005 and Connection Pooling for newbies
Date: Wed, 21 Dec 2005 14:24:54 +0100
Message-ID: <20051221132454.GD30837@soptik.pzkagis.cz> (raw)
In-Reply-To: <43A74F9F.5050601@optusnet.com.au>
References: <43A74F9F.5050601@optusnet.com.au>

> Anyway, as far as I can tell the driver is installed by default with 
> Connection Pooling off which means that most newbies like me are going 
> to hit the performance problem and think that something is wrong with 
> psqlODBC. I thought it might be worth putting a note in the README 
> alerting people to this.

I think we can change the default behaviour.

> At this stage I'm thinking of having my app forcibly turn Connection 
> Pooling on by setting the Windows Registry key:
> HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode
> CPTimeout = 60

Dave, it's good idea to add this to .reg file or install procedure,
isn't it?  Please could you add it before releasing 08.01.0200?

> Is this the way to go? Or is there a way that I can enable it for my 
> program only with the Connection String? The Visual Studio help files 
> seemed to indicate that for ODBC you can only set it on a system-wide basis.

I don't know exactly but I think this is directive only for ODBC manager
not for psqlODBC driver.

> P.S. One other note while I'm writing, in
> FAQ 3.3) What do I need to do to establish a connection to a database?

Could you send us patch for this issue?

Thanks,

Luf



view thread (3+ messages)  latest in thread

Message-ID: <20051221132454.GD30837@soptik.pzkagis.cz>
Permalink:  ../20051221132454.GD30837@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20051221132454.GD30837@soptik.pzkagis.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: luf@pzkagis.cz, pdonelan@optusnet.com.au
  Subject: Re: psqlODBC with Visual Studio 2005 and Connection Pooling for newbies
  In-Reply-To: <20051221132454.GD30837@soptik.pzkagis.cz>
  References: <43A74F9F.5050601@optusnet.com.au> <20051221132454.GD30837@soptik.pzkagis.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox