diff options
author | Dave Cramer <davec@fastcrypt.com> | 2002-09-01 23:56:13 +0000 |
---|---|---|
committer | Dave Cramer <davec@fastcrypt.com> | 2002-09-01 23:56:13 +0000 |
commit | fcd34f9f7ff561213beef97f93c32f415e35a79c (patch) | |
tree | 412b2a2a8f80874bd0951e3cb974d43d40318c93 /src | |
parent | 422c2e38a169ae73ad3aa55e60b6eb8cd2cb9cdd (diff) | |
download | postgresql-fcd34f9f7ff561213beef97f93c32f415e35a79c.tar.gz postgresql-fcd34f9f7ff561213beef97f93c32f415e35a79c.zip |
patch from Thomas O'Dowd to ensure that connections are closed
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java index 3c93e540319..566098d04cc 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java @@ -13,7 +13,7 @@ import org.postgresql.largeobject.LargeObjectManager; import org.postgresql.util.*; -/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Connection.java,v 1.5 2002/08/23 20:45:49 barry Exp $ +/* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Connection.java,v 1.6 2002/09/01 23:56:13 davec Exp $ * This class defines methods of the jdbc1 specification. This class is * extended by org.postgresql.jdbc2.AbstractJdbc2Connection which adds the jdbc2 * methods. The real Connection class (for jdbc1) is org.postgresql.jdbc1.Jdbc1Connection @@ -776,7 +776,10 @@ public abstract class AbstractJdbc1Connection implements org.postgresql.PGConnec } catch (IOException e) {} - pg_stream = null; + finally + { + pg_stream = null; + } } } |