Re: Data types for IP address. - Mailing list pgsql-general

From John R Pierce
Subject Re: Data types for IP address.
Date
Msg-id 4D6556BD.6060406@hogranch.com
Whole thread Raw
In response to Re: Data types for IP address.  (Stephane Bortzmeyer <bortzmeyer@nic.fr>)
Responses Re: Data types for IP address.  (Michael Glaesemann <grzm@seespotcode.net>)
Re: Data types for IP address.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 02/23/11 4:44 AM, Stephane Bortzmeyer wrote:
>> *3. Start-End IP format :*      1.2.3.0-1.2.3.255
> You don't even need to program the conversion, it is already done:
>
> % netmask 1.2.3.0:1.2.3.255
>          1.2.3.0/24

yes, but what about 10.1.2.57-10.1.2.123 ?    presumably valid in his
range system, and certainly NOT a valid CIDR range.



pgsql-general by date:

Previous
From: Joe Conway
Date:
Subject: Re: Finding Errors in .csv Input Data
Next
From: Michael Glaesemann
Date:
Subject: Re: Data types for IP address.