Thread: [pgjdbc/pgjdbc] d78059: fix: When calling Driver.connect multiple times, S...

[pgjdbc/pgjdbc] d78059: fix: When calling Driver.connect multiple times, S...

From
Agata Naomichi
Date:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: d78059a529942d9a3509132e7fd2cb61efb94a48
      https://github.com/pgjdbc/pgjdbc/commit/d78059a529942d9a3509132e7fd2cb61efb94a48
  Author: Agata Naomichi <agatan039@gmail.com>
  Date:   2021-06-14 (Mon, 14 Jun 2021)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/Driver.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/DriverTest.java

  Log Message:
  -----------
  fix: When calling Driver.connect multiple times, System.err is closed unexpectedly. (#2138)

* fix: When calling Driver.connect multiple times, System.err is closed unexpectedly. (#2130)

Use ConsoleHandler instead of StreamHandler when the output stream is
unspecified.

* Refine test cases