pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sehrope Sarkuni <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 3df32f: fix: Revert inet default Java type to PGObject and...
Date: Fri, 13 Sep 2019 05:18:30 -0700
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 3df32f9bf9da38cc5f0fbb212a3034e4634dd3c7
      https://github.com/pgjdbc/pgjdbc/commit/3df32f9bf9da38cc5f0fbb212a3034e4634dd3c7
  Author: Sehrope Sarkuni <sehrope@jackdb.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.







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2Fe9423d-3df32f@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@github.com

 · 

reply

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] 3df32f: fix: Revert inet default Java type to PGObject and...
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/e9423d-3df32f@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