Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore - Mailing list pgsql-admin

From Markus Bertheau
Subject Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore
Date
Msg-id 1057526012.2570.1.camel@saphir
Whole thread Raw
In response to Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error  ("Soeren Laursen" <sl@scrooge.dk>)
Responses Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error
List pgsql-admin
В Вск, 06.07.2003, в 19:57, Soeren Laursen пишет:

> pg_restore: ERROR:  copy: line 1, Invalid UNICODE character sequence
> found (0xf87665)

> No need to say that the new database is created with UNICODE
> encoding?!

use

\encoding latin1

once when you import the data. That'll convert the data from latin1 to
utf-8 encoded unicode on the fly. Then again I don't know what charset
denmark uses usually, probably some other latin variant.

--
Markus Bertheau.
Berlin, Berlin.
Germany.

pgsql-admin by date:

Previous
From: "Gaetano Mendola"
Date:
Subject: Re: Pls. help me to clarify my doubts.
Next
From: "Soeren Laursen"
Date:
Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error