Re: Range Types and extensions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Range Types and extensions
Дата
Msg-id 24831.1308579443@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Range Types and extensions  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Range Types and extensions  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Jun 20, 2011 at 2:33 AM, Jeff Davis <pgsql@j-davis.com> wrote:
>> Yes, we cannot have two range types with the same base type. That is a
>> consequence of the polymorphic type system, which needs to be able to
>> determine the range type given the base type.

> Boy, that's an unfortunate limitation.  :-(

Given the need to deal with multiple collations for collatable types,
I'd say it's not so much "unfortunate" as "utterly unworkable".  At
least unless you give up the notion of binding the collation into the
type definition ... which has other issues, per discussion a few days
ago.  Even ignoring collations, I really think we want to allow multiple
range types for base types that have multiple btree sort orderings.
        regards, tom lane


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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: POSIX question
Следующее
От: Radosław Smogura
Дата:
Сообщение: Re: POSIX question