]> granicus.if.org Git - postgresql/commit
Please pull this patch. It breaks JDBC1 support. The JDBC1 code no
authorBruce Momjian <bruce@momjian.us>
Sun, 26 Aug 2001 17:08:48 +0000 (17:08 +0000)
committerBruce Momjian <bruce@momjian.us>
Sun, 26 Aug 2001 17:08:48 +0000 (17:08 +0000)
commit3d162c0d1a7fa1a4a1f3dae46965ef86f0ebe8f6
treee86cb832456a0ab07430e2dea8fbcc6703ba33da
parente1635b44025ca4cff059904ce01a6a325f2c5a66
Please pull this patch.  It breaks JDBC1 support.  The JDBC1 code no
longer compiles, due to objects being referenced in this patch that do
not exist in JDK1.1.

Barry Lind
---------------------------------------------------------------------------

The JDBC driver requires

  permission java.net.SocketPermission "host:port", "connect";

in the policy file of the application using the JDBC driver
in the postgresql.jar file.  Since the Socket() call in the
driver is not protected by AccessController.doPrivileged() this
permission must also be granted to the entire application.
src/interfaces/jdbc/org/postgresql/PG_Stream.java