Re: How convert UNICODE

Поиск
Список
Период
Сортировка
От lms
Тема Re: How convert UNICODE
Дата
Msg-id 20061119003111.M86685@inetcafe.eu.org
обсуждение исходный текст
Ответ на How convert UNICODE  ("lms" <piechcio@inetcafe.eu.org>)
Список pgsql-sql
HiI must copy rows from local database (UNICODE) to remote database SQL_ASCII
(not on local machine) with converting selected columns to iso8859_2 or 
iso_8859_5. Can I make it with COPY?


On Sat, 18 Nov 2006 09:42:14 -0500, Travis Whitton wrote 
> You can use the postgresql COPY command to dump a single column to a file. 
Do this for each column you need to convert. From there, use iconv to 
convert the data. When you're done dumping and converting, use the unix 
paste command to reassemble the data. If you're not on a unix-based 
platform, a simple perl script should do the job. 




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

Предыдущее
От: imad
Дата:
Сообщение: Re: transactional shared variable in postgresql
Следующее
От: Chris Tennant
Дата:
Сообщение: planner used functional index in 7.3.6, now does a seq scan in 7.4.7 after upgrade