[pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as they are r...

From: Magnus <magJ(at)users(dot)noreply(dot)github(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as they are r...
Date: 2017-10-20 12:17:34
Message-ID: 59e9e95e5e8f3_30303ff64b3a5c24169846@hookshot-fe2-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: 83dd5fea94928b349e05c1417e264797052f2bbe
https://github.com/pgjdbc/pgjdbc/commit/83dd5fea94928b349e05c1417e264797052f2bbe
Author: Magnus <magJ(at)users(dot)noreply(dot)github(dot)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

Browse pgsql-jdbc by date

  From Date Subject
Next Message AlexElin 2017-10-20 15:59:25 [pgjdbc/pgjdbc] c759a5: refactor: replace some usages of assertTrue (#957)
Previous Message Jorge Solorzano 2017-10-20 07:48:25 [pgjdbc/pgjdbc] 0d8fde: chore: remove testing of the latest Java updates (...