Re: Best practices for moving UTF8 databases

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Best practices for moving UTF8 databases
Дата
Msg-id 200907131645.36439.andres@anarazel.de
обсуждение исходный текст
Ответ на Best practices for moving UTF8 databases  (Phoenix Kiula <phoenix.kiula@gmail.com>)
Список pgsql-general
On Sunday 12 July 2009 13:19:50 Phoenix Kiula wrote:
> Hi. I *always* get an error moving my current fully utf-8 database
> data into a new DB.
>
> My server has the version 8.3 with a five year old DB. Everything, all
> collation, LC_LOCALE etc are all utf8.
>
> When I install a new Postgresql 8.4 on my home Mac OSX machine (after
> losing some hair) I set everything about a new database to be utf8. At
> least anything I could see in PgAdmin.
>
> But when I pull in the data dump from the server I always see that
> error from the utf8 mismatch and such.
>
> So, my question. What is a good way to make sure that error does NOT
> occur? I simply wish to replicate the server database on another PG
> installation. What should one do?
What is the _exact_ error you get? During which statement?

Andres

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: uuid_hash declaration
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Start With... Connect By?