changing encoding of a postgres database

Поиск
Список
Период
Сортировка
От Kenneth Gonsalves
Тема changing encoding of a postgres database
Дата
Msg-id 429AF276-BFD9-4370-8805-F51320F1A150@thenilgiris.com
обсуждение исходный текст
Список pgsql-sql
hi,

I recently did a dist-upgrade from sarge to etch on a server with a  
bunch of postgresql databases (7.4.9). Many of these had encoding set  
as unicode and contained a lot of unicode data. After the dist- 
upgrade, I find some of these databases are now encoded as latin1 -  
and I cannot properly retrieve the unicode data or add now unicode  
data. I tried pg_dump, dropdb, createdb with E=unicode and the  
restore with psql -f, but the restoration barfs on the first  
occurence of unicode data. Any solution?
-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/




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

Предыдущее
От: "Asko Oja"
Дата:
Сообщение: Re: Backup Database
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Returning the total number of rows as a separate column when using limit