Re: inet datatype - Mailing list pgsql-jdbc

From Joseph Shraibman
Subject Re: inet datatype
Date
Msg-id 3FCEA6AA.90804@selectacast.net
Whole thread Raw
In response to Re: inet datatype  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: inet datatype  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Oliver Jowett wrote:
> On Wed, Dec 03, 2003 at 09:12:36PM -0500, Joseph Shraibman wrote:
>
>>Is there any reason in particular that the inet type isn't returned by
>>the jdbc driver as an java.net.InetAddress ?
>
>
> InetAddress doesn't store netmask information.
>
> -O
... and the alternative is... ?  I say just return the InetAddress, and
if someone wants the netmask they'll have to call getString() and parse
it themselves.  Doing nothing is not an option.


pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: inet datatype
Next
From: Oliver Jowett
Date:
Subject: Re: inet datatype