Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 16431475C98 for ; Thu, 5 Dec 2002 04:53:29 -0500 (EST) Received: from mail1.mail.iol.ie (mail1.mail.iol.ie [194.125.2.192]) by postgresql.org (Postfix) with ESMTP id 1C2FB475BC3 for ; Thu, 5 Dec 2002 04:53:28 -0500 (EST) Received: from dialup-1016.dublin.iol.ie ([193.203.147.248] helo=winkie) by mail1.mail.iol.ie with esmtp (Exim 3.35 #1) id 18JrlA-0006rk-00 for pgsql-odbc@postgresql.org; Thu, 05 Dec 2002 08:53:28 +0000 From: "Raymond O'Donnell" To: pgsql-odbc@postgresql.org Date: Thu, 05 Dec 2002 09:52:57 -0000 MIME-Version: 1.0 Subject: Re: Connections sitting idle... Message-ID: <3DEF21F9.503.187D9C@localhost> In-reply-to: <3DEEBF95.6FC5A4F@tpf.co.jp> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/32 X-Sequence-Number: 2421 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 -------------------------------------------------------------