Re: Proposal: CREATE CONVERSION

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Proposal: CREATE CONVERSION
Дата
Msg-id 20020709.154640.98878620.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Proposal: CREATE CONVERSION  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список pgsql-hackers
SQL99 allows on the fly encoding conversion:

CONVERT('aaa' USING myconv 'bbb')

So there could be more than 1 conversion for a paticlular encodings
pair. This lead to an ambiguity for "default" conversion used for the
frontend/backend automatic encoding conversion. Can we add a flag
indicating that this is the "default" conversion? The new proposed
syntax would be:

CREATE CONVERSION <conversion name>      FOR <source encoding name>      TO <destination encoding name>      FROM
<conversionfunction name>      [DEFAULT]
 

Comments?
--
Tatsuo Ishii




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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Proposal: CREATE CONVERSION
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Proposal: CREATE CONVERSION