=?iso-8859-1?q?Deepak=20Malhotra?= <deepakjm(at)yahoo(dot)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