Re: Move database from Solaris to Windows

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Move database from Solaris to Windows
Дата
Msg-id b42b73150708012014w3d62d8a4yaf87823ebe578f2f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Move database from Solaris to Windows  ("Barry C Dowell" <barry.c.dowell.1@gsfc.nasa.gov>)
Список pgsql-general
On 8/2/07, Barry C Dowell <barry.c.dowell.1@gsfc.nasa.gov> wrote:
> Ok, if you can forgive the possible stupid answer and help pull me a long a
> bit more, in answer to this:
>
> >> Yes, dump/restore is pretty much the standard to move dbs across
> architectures so we'll need more to work with.  One thing to check, did you
> make sure that your dump was in the same encoding as the database you
> created on your Windows server?
>
> How do I know what encoding was used on one database (on one OS) versus the
> other?

psql -l

lists the encoding.  postgresql on windows iirc defaults to sql_ascii
which is actually the most forgiving but not a great choice.  linux
defaults to utf-8.

can you post the exact text of the error?

merlin

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Linux distro
Следующее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: Re: Linux distro