pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Cesar Schneider <cesar@hzta.com.br>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_restore
Date: Thu, 20 Jan 2005 03:00:25 -0200
Message-ID: <1106197225.2673.41.camel@nx9005.localdomain> (raw)
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>

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 <cesar@hzta.com.br> 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
> 




view thread (67+ messages)  latest in thread

Message-ID: <1106197225.2673.41.camel@nx9005.localdomain>
Permalink:  ../1106197225.2673.41.camel@nx9005.localdomain/
Also on:    postgresql.org/message-id/1106197225.2673.41.camel@nx9005.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: cesar@hzta.com.br, tgl@sss.pgh.pa.us
  Subject: Re: pg_restore
  In-Reply-To: <1106197225.2673.41.camel@nx9005.localdomain>
  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> <1106197225.2673.41.camel@nx9005.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox