[pgjdbc/pgjdbc] 3df32f: fix: Revert inet default Java type to PGObject and...

From: Sehrope Sarkuni <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 3df32f: fix: Revert inet default Java type to PGObject and...
Date: 2019-09-13 12:18:30
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@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: 3df32f9bf9da38cc5f0fbb212a3034e4634dd3c7
https://github.com/pgjdbc/pgjdbc/commit/3df32f9bf9da38cc5f0fbb212a3034e4634dd3c7
Author: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
Date: 2019-09-13 (Fri, 13 Sep 2019)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/GetObjectTest.java

Log Message:
-----------
fix: Revert inet default Java type to PGObject and handle values with net masks (#1568)

Reverts inet type columns to return their value as a PGObject rather than parsing
them as InetAddress values. This ensures that the mask value is not lost.

Also corrects the getObject(..., InetAddress.class) handling to split out the net mask
and return only the address portion.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2019-09-13 15:33:46 [pgjdbc/pgjdbc] 291ccf: release notes for 42.2.8 (#1571)
Previous Message Dave Cramer 2019-09-10 21:09:20 Release 42.2.7 officially released