Re: Proposal: CREATE CONVERSION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: CREATE CONVERSION
Дата
Msg-id 8627.1026056777@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: CREATE CONVERSION  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: Proposal: CREATE CONVERSION  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> I guess you mix up SQL99's "trasnlate" and "convert".

No, I believe Peter has read the spec correctly.  Further down they have
        <character translation> is a function for changing each character        of a given string according to some
many-to-oneor one-to-one        mapping between two not necessarily distinct character sets.
 

So this is intended as a one-character-at-a-time mapping, not a language
translation (which would be far beyond what anyone would expect of a
database anyway).

One thing that's really unclear to me is what's the difference between
a <character translation> and a <form-of-use conversion>, other than
that they didn't provide a syntax for defining new conversions.
        regards, tom lane




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: libpq++ build problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq++ build problems