convert database to unicode

Поиск
Список
Период
Сортировка
От David Lutz
Тема convert database to unicode
Дата
Msg-id 20030826051413.14268.qmail@web13907.mail.yahoo.com
обсуждение исходный текст
Ответы Re: convert database to unicode  (Gianni Mariani <gianni@mariani.ws>)
Список pgsql-general
Hello,  I want to convert an existing database with
SQL_ASCII encoding to UNICODE encoding.

(postgresql ver 7.3.2)

I thought that it might be as easy as:
pg_dump mydatabase > dump.sql
createdb --encoding=unicode newdatabase
psql newdatabase < dump.sql

but it wasn't going to be that easy now was it :-(

I'm getting errors such as:
ERROR:  copy: line 54, Invalid UNICODE character
sequence found (0xe46765)
lost synchronization with server, resetting connection

Can anyone suggest a way I might be able to do it?
Thanks,   David


http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: move to usenet?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Buglist