From: Magnus <magJ@users.noreply.github.com>
To: pgsql-jdbc@postgresql.org
Subject: [pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as they are r...
Date: Fri, 20 Oct 2017 05:17:34 -0700
Message-ID: <59e9e95e5e8f3_30303ff64b3a5c24169846@hookshot-fe2-cp1-prd.iad.github.net.mail> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: magJ@users.noreply.github.com
Subject: Re: [pgjdbc/pgjdbc] 83dd5f: fix: make warnings available as soon as they are r...
In-Reply-To: <59e9e95e5e8f3_30303ff64b3a5c24169846@hookshot-fe2-cp1-prd.iad.github.net.mail>
References: <59e9e95e5e8f3_30303ff64b3a5c24169846@hookshot-fe2-cp1-prd.iad.github.net.mail>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox