[pgjdbc/pgjdbc] 74a426: fix: use SQLWarning(String reason) constructor for...

From: James <jmt158(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 74a426: fix: use SQLWarning(String reason) constructor for...
Date: 2017-04-04 11:32:36
Message-ID: 58e384548a7c6_66873faf7e26bc3c258f1@hookshot-fe1-cp1-prd.iad.github.net.mail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: 74a426b929f47a3f585dd6e535300d2ffe77a9da
https://github.com/pgjdbc/pgjdbc/commit/74a426b929f47a3f585dd6e535300d2ffe77a9da
Author: James <jmt158(at)gmail(dot)com>
Date: 2017-04-04 (Tue, 04 Apr 2017)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/util/PSQLWarning.java
A pgjdbc/src/test/java/org/postgresql/util/PSQLWarningTest.java

Log Message:
-----------
fix: use SQLWarning(String reason) constructor for correct DriverMana… (#751)

* fix: use SQLWarning(String reason) constructor for correct DriverManager logging

Previously, the default constructor was used which only logs "SQLWarning: ", but no information about the warning.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Stefan Smith 2017-04-04 12:11:23 Logical Replication: adjacent COMMIT messages with the wrong StartLSN
Previous Message rapidtransit440 2017-04-03 22:09:43 Re: RFC: Make new versions of pgjdbc Java8+