Re: Adding ip4r to Postgresql core?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding ip4r to Postgresql core?
Дата
Msg-id 4511.1375937082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Adding ip4r to Postgresql core?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Adding ip4r to Postgresql core?
Список pgsql-general
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> That's been proposed before, and rejected before, on the grounds that
>> since it doesn't support IPv6 its days are numbered.

> Actually, that's not true.

Ah, my information is obsolete.

>  Quoting from the linked readme file,
> : IP4R therefore supports six distinct data types:
> :   ip4   - a single IPv4 address
> :   ip4r  - an arbitrary range of IPv4 addresses
> :   ip6   - a single IPv6 address
> :   ip6r  - an arbitrary range of IPv6 addresses
> :   ipaddress  - a single IPv4 or IPv6 address
> :   iprange    - an arbitrary range of IPv4 or IPv6 addresses

So the obvious question today is whether this isn't duplicative of the
range datatype stuff.  IOW, why wouldn't we be better off to invent
inetrange and call it good?

            regards, tom lane


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

Предыдущее
От: Sameer Thakur
Дата:
Сообщение: Re: Self referencing composite datatype
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: How to avoid Force Autovacuum