Re: Lossy character conversion to Latin-1

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Lossy character conversion to Latin-1
Дата
Msg-id 20060531.222642.06944432.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Lossy character conversion to Latin-1  (John DeSoi <desoi@pgedit.com>)
Ответы Re: Lossy character conversion to Latin-1  (John DeSoi <desoi@pgedit.com>)
Список pgsql-general
> I have a client that only supports Latin-1 and needs to connect to a
> UTF-8 database to retrieve some data. Some columns may contain
> characters that have no Latin-1 equivalent. I would like to convert
> these to a blank or perhaps some hex value. Is there any way to do
> this in PostgreSQL without using anything other than built in
> functions or pl/pgsql? It would be nice if the built in convert
> function had an option to handle this rather than only generating an
> error. Any pointers to an existing pl/pgsql function to perform this
> conversion?

It should be easy to write user defined funtion and define your own
CONVERSION.  CREATE CONVERSION is your friend.
--
Tatsuo Ishii
SRA OSS, Inc. Japan

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

Предыдущее
От: Pit Müller
Дата:
Сообщение: Re: Problem in Pg 8.1.4 with CREATEDB
Следующее
От: Arnaud Lesauvage
Дата:
Сообщение: Re: Best high availability solution ?