From: | "Gary Doades" <gpd(at)gpdnet(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: removing idle connections |
Date: | 2004-10-19 18:47:38 |
Message-ID: | 41756F5A.19880.626AF123@localhost |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 19 Oct 2004 at 13:32, Josh Close wrote:
> The provider is corelabs. The programmer that wrote the code says he's
> closing the connections, but they aren't actually closing.
>
> Any ideas? Or better yet, do you know of a good postgres .net provider?
>
Hmm, I've had lots of problems with the Corelabs provider. The open
source provider (Npgsql) available on GBorg is a lot better for most
things.
I reverted to using the ODBC driver for Postgres with the .NET Odbc
provider. Works fine.
With connection pooling enabled you will see several "idle" connections
around waiting to be re-used by a provider connection supplying the
same credentials and options as a "disconnected" pooled-but-idle
connection. If you connect with a different username/password
everytime then this may be a problem, otherwise it is a big performance
gain in the disconnected recordset world of .NET.
Cheers,
Gary.
From | Date | Subject | |
---|---|---|---|
Next Message | Gaetano Mendola | 2004-10-19 19:17:51 | Re: delayed input |
Previous Message | Hicham G. Elmongui | 2004-10-19 18:44:34 | Re: delayed input |