Re: Move database from Solaris to Windows

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: barry(dot)c(dot)dowell(dot)1(at)gsfc(dot)nasa(dot)gov
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Move database from Solaris to Windows
Date: 2007-08-02 03:14:35
Message-ID: b42b73150708012014w3d62d8a4yaf87823ebe578f2f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/2/07, Barry C Dowell <barry(dot)c(dot)dowell(dot)1(at)gsfc(dot)nasa(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Starr 2007-08-02 03:32:30 Unsubscribe
Previous Message Ron Johnson 2007-08-02 03:07:51 Re: Linux distro