From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: inet increment w/ int8 |
Date: | 2005-05-21 21:33:08 |
Message-ID: | 200505212133.j4LLX8q08312@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Patrick Welche wrote:
> On Fri, May 20, 2005 at 11:12:54PM -0400, Bruce Momjian wrote:
> > Added to TODO:
> >
> > * Allow INET + INT4/INT8 to increment the host part of the address, or
> > throw an error on overflow
> >
> > I have not heard any use-case for adding to the network value if INET,
> > and by not using it, we can have an easy operator API.
>
> Thanks - I'll look at the code that was posted..
I modified the TODO. I think we only need an INT4. I realize INT8
would be for IPV6 but I can't imagine a network that has more than INT4
hosts (not part of the network address).
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Jaime Casanova | 2005-05-22 20:00:54 | Re: Views update ? |
Previous Message | Greg Sabino Mullane | 2005-05-21 20:28:32 | Minor issues with bitmap |