X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id DD054D1B4F5 for ; Mon, 15 Sep 2003 14:30:10 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 81243-05 for ; Mon, 15 Sep 2003 11:30:03 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 4E938D1B4F1 for ; Mon, 15 Sep 2003 11:29:55 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h8FETs4A010134; Mon, 15 Sep 2003 10:29:54 -0400 (EDT) To: =?iso-8859-1?q?Deepak=20Malhotra?= Cc: pgsql-admin@postgresql.org Subject: Re: Postgres is not closing JDBC connection .. Please help In-reply-to: <20030915065616.98528.qmail@web13509.mail.yahoo.com> References: <20030915065616.98528.qmail@web13509.mail.yahoo.com> Comments: In-reply-to =?iso-8859-1?q?Deepak=20Malhotra?= message dated "Mon, 15 Sep 2003 07:56:16 +0100" Date: Mon, 15 Sep 2003 10:29:54 -0400 Message-ID: <10133.1063636194@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/253 X-Sequence-Number: 10341 =?iso-8859-1?q?Deepak=20Malhotra?= writes: > I am using jdbc driver for PostgreSQL to connect to > the database and when I am closing the database > connection using Java but it seems PostgreSQL does not > close the connection actually. You've got that backwards: Java is not closing the Postgres connection. You could be falling afoul of connection-pooling features in the JDBC driver, perhaps. Ask in the JDBC list if you need more help. regards, tom lane