Comment out unsupported Java method in new JDBC drivers to prevent regression failure.
authorTatsuo Ishii <ishii@postgresql.org>
Thu, 6 Apr 2017 07:58:28 +0000 (16:58 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Thu, 6 Apr 2017 07:58:28 +0000 (16:58 +0900)
That is this: Driver.setLogLevel(2);

src/test/regression/tests/066.bug230/Sample.java

index 1c0abeaa216ec51500353312ce8bdc2d3465660a..47b7f98cfb667eb35b6c9af2cea6399fa418cf55 100644 (file)
@@ -16,7 +16,7 @@ public class Sample {
         props.setProperty("user", System.getenv("USER"));
         props.setProperty("password", "");
         DriverManager.setLogWriter(new PrintWriter(System.out));
-        Driver.setLogLevel(2);
+       //        Driver.setLogLevel(2);
         Connection conn = DriverManager.getConnection(
                 "jdbc:postgresql://localhost:11000/test", props);
         conn.setAutoCommit(false);