Thread: [JDBC] [pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as theyare r...
[JDBC] [pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as theyare r...
From
Magnus
Date:
Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 83dd5fea94928b349e05c1417e264797052f2bbe https://github.com/pgjdbc/pgjdbc/commit/83dd5fea94928b349e05c1417e264797052f2bbe Author: Magnus <magJ@users.noreply.github.com>Date: 2017-10-20 (Fri, 20 Oct 2017) Changed paths: A pgjdbc/src/main/java/org/postgresql/jdbc/PSQLWarningWrapper.java M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java M pgjdbc/src/test/java/org/postgresql/test/jdbc2/StatementTest.java Log Message: ----------- fix: make warnings available as soon as they are received (#857) Until REL9.4.1210 warnings were available via Statement#getWarnings() and ResultSet#getWarnings() as soon as they were received from the server. This commit returns to that behavior. This is useful for long running queries, where it can be beneficial to know about a warning before the query completes. fixes #856 -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc