X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D42013A46BD for ; Thu, 20 Jan 2005 05:02:21 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 16588-08 for ; Thu, 20 Jan 2005 05:02:11 +0000 (GMT) Received: from srv1.hzta.com.br (srv1.hzta.com.br [200.184.161.143]) by svr1.postgresql.org (Postfix) with ESMTP id BA58C3A4638 for ; Thu, 20 Jan 2005 05:02:09 +0000 (GMT) Received: (qmail 6679 invoked by uid 85); 20 Jan 2005 05:02:46 -0000 Received: from cesar@hzta.com.br by srv1.hzta.com.br by uid 82 with qmail-scanner-1.16 ( Clear:. Processed in 0.034034 secs); 20 Jan 2005 05:02:46 -0000 Received: from unknown (HELO 192.168.120.243) (200.207.5.38) by 0 with SMTP; 20 Jan 2005 05:02:46 -0000 Subject: Re: pg_restore From: Cesar Schneider To: Tom Lane Cc: pgsql-general@postgresql.org In-Reply-To: <10254.1105994530@sss.pgh.pa.us> References: <1105992246.2309.15.camel@nx9005.localdomain> <10020.1105993425@sss.pgh.pa.us> <1105994097.2574.19.camel@nx9005.localdomain> <10254.1105994530@sss.pgh.pa.us> Content-Type: text/plain Message-Id: <1106197225.2673.41.camel@nx9005.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Thu, 20 Jan 2005 03:00:25 -0200 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200501/1048 X-Sequence-Number: 71997 I'm still having problems to restore a database. The dump command used was: # pg_dump -Ft -b -o database > database.dump This dump was created in Postgres 8.0beta5 (Windows). When I try to restore this file in Postgres 8.0-rc3 (Linux) I get this error: # pg_restore -Ft -d database database.dump Using a dump file generated in pgadmin3, works fine... but pgadmin exports some strange things that are not related to the database. What can be wrong ? Cesar On Mon, 2005-01-17 at 18:42, Tom Lane wrote: > Cesar Schneider writes: > > but is not a plain text dump, so I don't think that is a CRFL problem. > > Exactly, but you did something to it with a program that thought it was > plain text. The actual current version number is 1.10. I think it is > pretty suggestive that LF == 10 decimal and CR == 13 decimal. > > regards, tom lane >