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 4B9FFB4276B for ; Mon, 7 Jul 2003 08:12:54 +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 67249-03 for ; Mon, 7 Jul 2003 05:12:23 -0300 (ADT) Received: from HUGIN (213.237.12.36.adsl.ynoe.worldonline.dk [213.237.12.36]) by svr1.postgresql.org (Postfix) with ESMTP id 4800AB42167 for ; Mon, 7 Jul 2003 05:12:21 -0300 (ADT) Received: from amavis by HUGIN with scanned-ok (Exim 3.12 #1 (Debian)) id 19ZR6i-0001x1-00 for ; Mon, 07 Jul 2003 10:12:20 +0200 Received: from athlon-pc ([10.0.0.2] helo=athlon-800) by HUGIN with esmtp (Exim 3.12 #1 (Debian)) id 19ZR6Y-0001wg-00; Mon, 07 Jul 2003 10:12:10 +0200 From: "Soeren Laursen" To: Markus Bertheau Date: Mon, 07 Jul 2003 10:12:12 +0200 MIME-Version: 1.0 Subject: Re: Migrating from 7.1 to 7.2 using pg_dump/pg_restore fails - UNICODE error Reply-To: soeren.laursen@scrooge.dk Cc: pgsql-admin@postgresql.org Message-ID: <3F09477C.15202.3DD58E@localhost> References: <3F08B840.14696.2D891A9@localhost> In-reply-to: <1057531698.2570.4.camel@saphir> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Virus-Scanned: by AMaViS perl-11 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/60 X-Sequence-Number: 9401 It looked like that worked, How about large objects (blobs). That is the reason I use custom format or am I missing a point here? I guess I might could use a lot of switches and only dump the blobs in a single file? Regards, S=F8ren, > =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, > > > > I am not sure how and where I should use the \encoding latin1 > > > > Something like, > > > > psql test01 > > \encodinng latin1 > > \q > > > > 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. > > -- > Markus Bertheau. > Berlin, Berlin. > Germany.