pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Monica Robustelli <monica_robustelli@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Restore Problem
Date: Mon, 20 Oct 2003 12:40:47 -0400
Message-ID: <3384.1066668047@sss.pgh.pa.us> (raw)
In-Reply-To: <Law10-F99zyfyz5b6KZ00009c08@hotmail.com>
References: <Law10-F99zyfyz5b6KZ00009c08@hotmail.com>

"Monica Robustelli" <monica_robustelli@hotmail.com> writes:
> If I transfer the backup file to another Linux machine, Red Hat 9, Postgres 
> 7.3, I'v some problem during the database restoring. The error is:

> ERROR:  copy: line 13, CopyReadAttribute: end of record marker corrupted

A likely bet is that you transferred the dump file in a manner that
converted Unix newlines (\n) to Windows newlines (\r\n).  COPY does not
tolerate that (in releases before 7.4 anyway).

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <3384.1066668047@sss.pgh.pa.us>
Permalink:  ../3384.1066668047@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3384.1066668047@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, monica_robustelli@hotmail.com
  Subject: Re: Restore Problem
  In-Reply-To: <3384.1066668047@sss.pgh.pa.us>

* 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