[pgjdbc/pgjdbc] 08507f: Fix: change order of checks for oid vs primary key...

From: Dave Cramer <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 08507f: Fix: change order of checks for oid vs primary key...
Date: 2020-08-03 13:44:48
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/2c5517-08507f@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: 08507f8e04b0da47c09a296fae095a45c412c7b8
https://github.com/pgjdbc/pgjdbc/commit/08507f8e04b0da47c09a296fae095a45c412c7b8
Author: Dave Cramer <davecramer(at)gmail(dot)com>
Date: 2020-08-03 (Mon, 03 Aug 2020)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc2/UpdateableResultTest.java

Log Message:
-----------
Fix: change order of checks for oid vs primary keys. Fixes #1613 (#1839)

* Fix: change order of checks for oid vs primary keys. Fixes #1613

* add test to make sure we can still use an oid for a primary key

* Use invalid cursor state for resultset that is not updatable. This is a breaking change

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2020-08-05 20:04:11 [pgjdbc/pgjdbc] 148ecb: try java14 (#1844)
Previous Message pip25 2020-07-30 17:25:32 [pgjdbc/pgjdbc] 2c5517: docs: touch up SSL keyfile documentation (#1836)