mirror of
https://github.com/postgres/postgres.git
synced 2025-06-07 00:02:00 -04:00
patch from Thomas O'Dowd to ensure that connections are closed
This commit is contained in:
parent
422c2e38a1
commit
fcd34f9f7f
@ -13,7 +13,7 @@ import org.postgresql.largeobject.LargeObjectManager;
|
|||||||
import org.postgresql.util.*;
|
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
|
* This class defines methods of the jdbc1 specification. This class is
|
||||||
* extended by org.postgresql.jdbc2.AbstractJdbc2Connection which adds the jdbc2
|
* extended by org.postgresql.jdbc2.AbstractJdbc2Connection which adds the jdbc2
|
||||||
* methods. The real Connection class (for jdbc1) is org.postgresql.jdbc1.Jdbc1Connection
|
* methods. The real Connection class (for jdbc1) is org.postgresql.jdbc1.Jdbc1Connection
|
||||||
@ -776,9 +776,12 @@ public abstract class AbstractJdbc1Connection implements org.postgresql.PGConnec
|
|||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (IOException e)
|
||||||
{}
|
{}
|
||||||
|
finally
|
||||||
|
{
|
||||||
pg_stream = null;
|
pg_stream = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A driver may convert the JDBC sql grammar into its system's
|
* A driver may convert the JDBC sql grammar into its system's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user