Re: inet increment with int - Mailing list pgsql-hackers

From Tom Lane
Subject Re: inet increment with int
Date
Msg-id 3625.1125946975@sss.pgh.pa.us
Whole thread Raw
In response to inet increment with int  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Responses Re: inet increment with int
List pgsql-hackers
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> * Allow INET + INT4 to increment the host part of the address, or
>   throw an error on overflow

> I think that the naively coded function attached does what is needed, e.g.,

What happened to the IPv6 case?  Also, I think you need to reject CIDR
inputs.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Patrick Welche
Date:
Subject: Re: Proof of concept COLLATE support with patch
Next
From: Simon de Hartog
Date:
Subject: PostgreSQL configurable SSL key checking