pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uwe Maiwald <u.maiwald@kiss-net.de>
To: pgsql-admin@postgresql.org
Subject: pg_restore 7.4 from 7.2.1
Date: Fri, 28 Nov 2003 14:03:24 +0100
Message-ID: <5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de> (raw)

Hi,

i get errors restoring a 7.2.1 dump into 7.4

the commands were

Version 7.2.1:  pg_dump -Ft -b dbname > filename
Version 7.4  pg_restore -d dbname filename

pg_restore: ERROR:  literal carriage return found in data
HINT:  Use "\r" to represent carriage return.
CONTEXT:  COPY Aktionspartner, line 2: "1       Sparkasse 
Pfullendorf-Meßkirch  Bahnhofstraße   88630   Pfullendorf 07552 / 
263-0    User Name   6905162..."
pg_restore: [archiver (db)] error returned by PQendcopy


i read in the mailing list, that others have the same problem. I know, that 
COPY no longer supports literal carriage-returns in 7.4
So i would like to know if this problem is by design (of pg_restore), or if 
it will be solved in a future release.

thanks,

Uwe




view thread (2+ messages)  latest in thread

Message-ID: <5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de>
Permalink:  ../5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de/
Also on:    postgresql.org/message-id/5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de

 · 

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-admin@postgresql.org
  Cc: u.maiwald@kiss-net.de
  Subject: Re: pg_restore 7.4 from 7.2.1
  In-Reply-To: <5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de>
  References: <5.2.1.1.0.20031128133735.00a7ee60@mx0.kiss-net.de>

* 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