pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Raymond O'Donnell <rod@iol.ie>
To: pgsql-odbc@postgresql.org
Subject: Re: Connections sitting idle...
Date: Thu, 05 Dec 2002 09:52:57 -0000
Message-ID: <3DEF21F9.503.187D9C@localhost> (raw)
In-Reply-To: <3DEEBF95.6FC5A4F@tpf.co.jp>

On 5 Dec 2002 at 11:53, Hiroshi Inoue wrote:

> Yes IIS uses the connection pooling mechanism by default.
> Pooled connections would be re-used if possible for other
> sessions without re-establishing new connections.

I should have mentioned that I turned off connection pooling for the 
PostgreSQL ODBC driver to see would it make a difference, but the 
backends hung around anyway. On the production system I will use 
pooling - if the backends are there, hopefully they'll be re-used 
rather than having new ones opened. I still have to try this out.  

> Anyway I can't see other sessions' info at all in your
> example. How do other sessions behave ?

The same thing happens consistently.

...and on 5 Dec 2002 at 8:06, Dave Page wrote:

> I'm pretty sure this is the underlying ADO. It's for this reason that
> pgAdmin can't drop databases - no matter how you tell ADO to close the
> connection , it 'helpfully' keeps it open preventing you from ever
> dropping that database.

Does you mean that ADO keeps the connection open regardless of 
whether or not connection pooling is turned on? Is there any way to 
control this behaviour? I don't see anything in the properties of the 
ADO connection object to affect this, but maybe I just missed it at 
2.00 am..... :)

Many thanks for your replies!

--Ray.
 
-------------------------------------------------------------
Raymond O'Donnell     http://www.galwaycathedral.org/recitals
rod@iol.ie                          Galway Cathedral Recitals
-------------------------------------------------------------




view thread (10+ messages)  latest in thread

Message-ID: <3DEF21F9.503.187D9C@localhost>
Permalink:  ../3DEF21F9.503.187D9C@localhost/
Also on:    postgresql.org/message-id/3DEF21F9.503.187D9C@localhost

 · 

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: rod@iol.ie
  Subject: Re: Connections sitting idle...
  In-Reply-To: <3DEF21F9.503.187D9C@localhost>
  References: <3DEEBF95.6FC5A4F@tpf.co.jp> <3DEF21F9.503.187D9C@localhost>

* 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