mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
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
This commit is contained 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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user