Re: Fixed length data types issue

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Fixed length data types issue
Дата
Msg-id 20060915105244.GF1608@svana.org
обсуждение исходный текст
Ответ на Re: Fixed length data types issue  (Heikki Linnakangas <heikki@enterprisedb.com>)
Ответы Re: Fixed length data types issue  (Heikki Linnakangas <heikki@enterprisedb.com>)
Re: Fixed length data types issue  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Fri, Sep 15, 2006 at 11:43:52AM +0100, Heikki Linnakangas wrote:
> My gut feeling is that it wouldn't be that bad compared to what we have
> now or the new proposed varlena scheme, but before someone actually
> tries it and shows some numbers, this is just hand-waving.

Well, that depends on whether you're going to make a special typlen
value for *just* UTF-8, which would probably cost about the same. Or
allow any type to have it's own Datum length function, which would be
very expensive. Calling user-defined functions is not cheap.

I don't think making a special typlen value just for a type that can
store a single UTF-8 character is smart. I just can't see enough use to
make it worth it.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fixed length data types issue
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Fixed length data types issue