Re: inet increment w/ int8

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: inet increment w/ int8
Дата
Msg-id 200505212133.j4LLX8q08312@candle.pha.pa.us
обсуждение исходный текст
Ответ на inet increment w/ int8  ("Ilya A. Kovalenko" <shadow@oganer.net>)
Ответы Re: inet increment w/ int8  (Douglas McNaught <doug@mcnaught.org>)
Список 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Minor issues with bitmap
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: Views update ?