Re: What is the maximum encoding-conversion growth rate, anyway?

Поиск
Список
Период
Сортировка
Искать
От
Tatsuo Ishii
Тема
Re: What is the maximum encoding-conversion growth rate, anyway?
Дата
Msg-id
20070718.184817.32729713.t-ishii@sraoss.co.jp
Ответ на
Список
Дерево обсуждения
What is the maximum encoding-conversion growth rate, anyway? Tom Lane <tgl@sss.pgh.pa.us>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Tom Lane <tgl@sss.pgh.pa.us>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Michael Fuhr <mike@fuhr.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? "Jeroen T. Vermeulen" <jtv@xs4all.nl>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Tom Lane <tgl@sss.pgh.pa.us>
Re: What is the maximum encoding-conversion growth rate, anyway? Michael Fuhr <mike@fuhr.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Bruce Momjian <bruce@momjian.us>
Re: What is the maximum encoding-conversion growth rate, anyway? Bruce Momjian <bruce@momjian.us>
Re: What is the maximum encoding-conversion growth rate, anyway? Tatsuo Ishii <ishii@postgresql.org>
Re: What is the maximum encoding-conversion growth rate, anyway? Bruce Momjian <bruce@momjian.us>
Sorry for dealy.

> On Tue, May 29, 2007 20:51, Tatsuo Ishii wrote:
> 
> > Thinking more, it striked me that users can define arbitarily growing
> > rate by using CFREATE CONVERSION. So it seems we need functionality to
> > define the growing rate anyway.
> 
> Would it make sense to define just the longest and shortest character
> lengths for an encoding?  Then for any conversion you'd have a safe
> estimate of
> 
>   ceil(target_encoding.max_char_len / source_encoding.min_char_len)
> 
> ...without going through every possible conversion.

This will not work since certain CONVERSION allows n char to m char
conversion.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

В списке pgsql-hackers по дате отправления
От: Simon Riggs
Дата:
От: Tatsuo Ishii
Дата:
FAQ