Re: extended operator classes vs. type interfaces

Поиск
Список
Период
Сортировка
От Yeb Havinga
Тема Re: extended operator classes vs. type interfaces
Дата
Msg-id 4BBF42BF.1010502@gmail.com
обсуждение исходный текст
Ответ на Re: extended operator classes vs. type interfaces  (Yeb Havinga <yebhavinga@gmail.com>)
Ответы Re: extended operator classes vs. type interfaces
Список pgsql-hackers
> From the implementers perspective, IMHO an extra catalog entry in 
> pg_type is not bad on its own, you would have one anyway if the range 
> type was explicitly programmed. About different kinds of range types - 
> I would not know how to 'promote' integer into anything else but just 
> one kind of 'range of integer' type. So the number of extra pg_types 
> would be more like O(number of linear ordered base types).
.. I now see the example of different ranges in your original mail with 
different unit increments. Making that more general so there could be 
continuous and discrete ranges and for the latter, what would the 
increment be.. OTOH is a range of integers with increment x a different 
type from range of integers with increment y, if x<>y? Maybe the 
increment step and continuous/discrete could be typmods.

regards
Yeb Havinga






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

Предыдущее
От: Yeb Havinga
Дата:
Сообщение: Re: extended operator classes vs. type interfaces
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: GSOC PostgreSQL partitioning issue