Re: upgrade from 7.4 to 8.3

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: upgrade from 7.4 to 8.3
Дата
Msg-id 29868.1236704216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на upgrade from 7.4 to 8.3  (Marc Cuypers <m.cuypers@mgvd.be>)
Ответы Re: upgrade from 7.4 to 8.3  (Marc Cuypers <m.cuypers@mgvd.be>)
Список pgsql-general
Marc Cuypers <m.cuypers@mgvd.be> writes:
> Databases in 7.4 were encoded as utf-8.  Now when importing postgresql
> gives the following error:

> ERROR:  encoding UTF8 does not match server's locale en_US
> DETAIL:  The server's LC_CTYPE setting requires encoding LATIN1.

It looks like you need to run initdb with LANG set to en_US.utf8,
not just en_US.

            regards, tom lane

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

Предыдущее
От: Marc Cuypers
Дата:
Сообщение: upgrade from 7.4 to 8.3
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: upgrade from 7.4 to 8.3