Re: inet increment with int

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: inet increment with int
Date: 2005-09-05 19:02:55
Message-ID: 3625.1125946975@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon de Hartog 2005-09-05 19:03:06 PostgreSQL configurable SSL key checking
Previous Message Patrick Welche 2005-09-05 18:42:16 Re: Proof of concept COLLATE support with patch