pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Deepak Malhotra <deepakjm@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres is not closing JDBC connection .. Please help
Date: Mon, 15 Sep 2003 10:29:54 -0400
Message-ID: <10133.1063636194@sss.pgh.pa.us> (raw)
In-Reply-To: <20030915065616.98528.qmail@web13509.mail.yahoo.com>
References: <20030915065616.98528.qmail@web13509.mail.yahoo.com>

=?iso-8859-1?q?Deepak=20Malhotra?= <deepakjm@yahoo.com> 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



view thread (3+ messages)

Message-ID: <10133.1063636194@sss.pgh.pa.us>
Permalink:  ../10133.1063636194@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10133.1063636194@sss.pgh.pa.us

 · 

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-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, deepakjm@yahoo.com
  Subject: Re: Postgres is not closing JDBC connection .. Please help
  In-Reply-To: <10133.1063636194@sss.pgh.pa.us>
  References: <20030915065616.98528.qmail@web13509.mail.yahoo.com> <10133.1063636194@sss.pgh.pa.us>

* 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