pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@eldocomp.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Restore Problem
Date: Mon, 20 Oct 2003 11:38:52 -0700
Message-ID: <5.1.0.14.2.20031020113413.028d0a98@imap.eldocomp.com> (raw)

At 09:40 AM 10/20/2003, Tom Lane wrote:
>"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).

What then is the proper method of upgrading from and old release?  I was 
planning on :

pg_dumpall > alldata.sql
psql -f alldata.sql template1 postgres >&err.out&


-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.



view thread (4+ messages)  latest in thread

Message-ID: <5.1.0.14.2.20031020113413.028d0a98@imap.eldocomp.com>
Permalink:  ../5.1.0.14.2.20031020113413.028d0a98@imap.eldocomp.com/
Also on:    postgresql.org/message-id/5.1.0.14.2.20031020113413.028d0a98@imap.eldocomp.com

 · 

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: nwalker@eldocomp.com, tgl@sss.pgh.pa.us
  Subject: Re: Restore Problem
  In-Reply-To: <5.1.0.14.2.20031020113413.028d0a98@imap.eldocomp.com>

* 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