X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id A0214B439BA for ; Sun, 6 Jul 2003 22:48:39 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 82174-01 for ; Sun, 6 Jul 2003 19:48:28 -0300 (ADT) Received: from saphir (dsl-082-082-094-108.arcor-ip.net [82.82.94.108]) by svr1.postgresql.org (Postfix) with ESMTP id 8F5D4B438DC for ; Sun, 6 Jul 2003 19:48:27 -0300 (ADT) Received: by saphir (Postfix, from userid 1000) id A0F701310A1; Mon, 7 Jul 2003 00:48:19 +0200 (CEST) Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore From: Markus Bertheau To: soeren.laursen@scrooge.dk Cc: pgsql-admin@postgresql.org In-Reply-To: <3F08B840.14696.2D891A9@localhost> References: <3F087F18.11871.1F94D4B@localhost> <3F08B840.14696.2D891A9@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-Id: <1057531698.2570.4.camel@saphir> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 07 Jul 2003 00:48:19 +0200 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/58 X-Sequence-Number: 9399 =D0=92 =D0=9F=D0=BD=D0=B4, 07.07.2003, =D0=B2 00:01, Soeren Laursen =D0=BF= =D0=B8=D1=88=D0=B5=D1=82: > Hi, >=20 > I am not sure how and where I should use the \encoding latin1 >=20 > Something like, >=20 > psql test01=20 > \encodinng latin1 > \q >=20 > pg_restore ..... Ah. Load the backup in a non-unicode database, dump it using the text format (i.e. not the custom format), put the encoding thing in front of the file and load it into your unicode database. --=20 Markus Bertheau. Berlin, Berlin. Germany.