From: Nikolai Ivanov <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] b6ab27: fix: improper relative cursor movement (#1462)
Date: Mon, 08 Apr 2019 10:52:04 +0000 (UTC)
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/5e48c4-b6ab27@github.com> (raw)
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: b6ab27c170ebeb88728f33207924d664ce7f7d77
https://github.com/pgjdbc/pgjdbc/commit/b6ab27c170ebeb88728f33207924d664ce7f7d77
Author: Nikolai Ivanov <nicktorwald@users.noreply.github.com>
Date: 2019-04-08 (Mon, 08 Apr 2019)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetTest.java
Log Message:
-----------
fix: improper relative cursor movement (#1462)
Fix a wrong relative cursor movement when a new calculated index is
negative (beyond the first row). According to the java-doc, in this
case the position leaves before the first row. Current implementation
of the 'relative' method delegates the movement to the 'absolute' method
which treats a negative index with respect to the end of the result set.
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: noreply@github.com
Subject: Re: [pgjdbc/pgjdbc] b6ab27: fix: improper relative cursor movement (#1462)
In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/5e48c4-b6ab27@github.com>
References: <pgjdbc/pgjdbc/push/refs/heads/master/5e48c4-b6ab27@github.com>
* 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