From: Bruce Momjian Date: Wed, 4 Jul 2001 15:07:54 +0000 (+0000) Subject: Attached is a patch to remove the ConnectionHook functionality and thus X-Git-Tag: REL7_2_BETA1~926 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=314207881b3f6cb7ac3f4f743d2a81c4cf68373a;p=postgresql Attached is a patch to remove the ConnectionHook functionality and thus the JDK 1.3 dependency. For a further explanation see my posting to the JDBC list on Friday, explaining why this is being done. Barry Lind --- diff --git a/src/interfaces/jdbc/build.xml b/src/interfaces/jdbc/build.xml index acc48a6010..9d70e2cbb8 100644 --- a/src/interfaces/jdbc/build.xml +++ b/src/interfaces/jdbc/build.xml @@ -3,7 +3,7 @@ build file to allow ant (http://jakarta.apache.org/ant/) to be used to build the PostgreSQL JDBC Driver. - $Id: build.xml,v 1.15 2001/05/25 16:29:17 momjian Exp $ + $Id: build.xml,v 1.16 2001/07/04 15:07:54 momjian Exp $ --> @@ -37,7 +37,6 @@ --> - @@ -58,11 +57,6 @@ - - - - - @@ -104,7 +98,6 @@ - diff --git a/src/interfaces/jdbc/org/postgresql/Driver.java.in b/src/interfaces/jdbc/org/postgresql/Driver.java.in index 5d64a3f579..c243a2f284 100644 --- a/src/interfaces/jdbc/org/postgresql/Driver.java.in +++ b/src/interfaces/jdbc/org/postgresql/Driver.java.in @@ -36,9 +36,6 @@ public class Driver implements java.sql.Driver // Placing it here, means that the driver is registered once only. java.sql.DriverManager.registerDriver(new Driver()); - // New in 7.1 - register ourselves with the JVM - JDK1.3+ only - @JDK1.3ONLY@org.postgresql.core.ConnectionHook.init(); - } catch (SQLException e) { e.printStackTrace(); }