Re: Why so few built-in range types?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Why so few built-in range types?
Дата
Msg-id 20111202005601.GH24234@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Why so few built-in range types?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Why so few built-in range types?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> Me neither.  The ip4r type also supports ranges that aren't on
> CIDR-block boundaries, which probably isn't something that makes sense
> to incorporate into cidr.  But not everyone needs that, and some
> people might also need support for ipv6 CIDR blocks, which ip4r
> doesn't support.  So I don't necessarily see the existence of ip4r as
> a reason why cidr shouldn't have better indexing support.

Seems I wasn't clear.  The semantic changes were why ip4r was *created*
(instead of just using cidr..).  The fact that it's got index support is
independent from that (though, in my view, shows that people who
actually care about this data type use ip4r and don't use cidr, or we'd
hear much more complaining..).

I don't have any particular care about if cidr has indexing support or
not.  I'm certainly not *against* it, except insofar as it encourages
use of a data type that really could probably be better (by being more
like ip4r..).
Thanks,
    Stephen

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: backup_label during crash recovery: do we know how to solve it?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Inlining comparators as a performance optimisation