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

From Tom Lane
Subject Re: inet increment with int
Date
Msg-id [email protected]
Whole thread Raw
In response to inet increment with int  (Patrick Welche <[email protected]>)
Responses Re: inet increment with int
List pgsql-hackers
Patrick Welche <[email protected]> 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