| From: | Nikolai Ivanov <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] b6ab27: fix: improper relative cursor movement (#1462) |
| Date: | 2019-04-08 10:52:04 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/5e48c4-b6ab27@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: b6ab27c170ebeb88728f33207924d664ce7f7d77
https://github.com/pgjdbc/pgjdbc/commit/b6ab27c170ebeb88728f33207924d664ce7f7d77
Author: Nikolai Ivanov <nicktorwald(at)users(dot)noreply(dot)github(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | kaiwangchen | 2019-04-09 10:55:06 | [pgjdbc/pgjdbc] 8e47a3: Fix execution with big decimal in simple query mod... |
| Previous Message | Thomas Kellerer | 2019-04-06 17:40:13 | Re: ResultSet.getObject(..., LocalTime.class) not working with Postgres timetz type |