Re: Range Types, constructors, and the type system

Поиск
Список
Период
Сортировка
От Florian Pflug
Тема Re: Range Types, constructors, and the type system
Дата
Msg-id 3E66E0E9-0D2C-45B6-825D-C003423550DD@phlo.org
обсуждение исходный текст
Ответ на Re: Range Types, constructors, and the type system  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Range Types, constructors, and the type system
Список pgsql-hackers
On Jun30, 2011, at 09:05 , Peter Eisentraut wrote:
> On tor, 2011-06-30 at 08:45 +0200, Florian Pflug wrote:
>> I don't think it will - as it stands, there isn't a single collatable
>> type RANGE but instead one *distinct* type per combination of base
>> type, btree opclass and collation. The reasons for that were discussed
>> at length - the basic argument for doing it that way was to make a
>> range represent a fixed set of values.
> 
> How would the system catalogs be initialized under that theory: surely
> you're not going to seed (nr. of types) * (nr. of collations) * (nr. of
> opclasses) range types in initdb?

There's CREATE RANGE. By default, no range types would exists I believe.

best regards,
Florian Pflug



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Range Types, constructors, and the type system
Следующее
От: "Albe Laurenz"
Дата:
Сообщение: Re: Bug in SQL/MED?