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

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 08507f8e04b0da47c09a296fae095a45c412c7b8
      https://github.com/pgjdbc/pgjdbc/commit/08507f8e04b0da47c09a296fae095a45c412c7b8
  Author: Dave Cramer <davecramer@gmail.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