Re: restore whoes - Mailing list pgsql-admin

From Tom Lane
Subject Re: restore whoes
Date
Msg-id 7485.1013446588@sss.pgh.pa.us
Whole thread Raw
In response to Re: restore whoes  (Simone Tellini <tellini@areabusiness.it>)
Responses Re: restore whoes  (Simone Tellini <tellini@areabusiness.it>)
List pgsql-admin
Simone Tellini <tellini@areabusiness.it> writes:
> err... probably I didn't make it clear, but the problem is that you
> can't restore a database if you've got a text field containing CRLF
> terminated text!

Au contraire: it works fine ... so long as the COPY data hasn't been
munged between being emitted and being reloaded.

There's a thread in progress now on pghackers concerning whether we
can't make COPY data files proof against Microsoftish newline
translations, but until that happens, the rule is simple.  Don't pass
the data file through anything that thinks it's okay to reformat
newlines.

            regards, tom lane

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fwd: Administrative Processing for csitech: getrows
Next
From: Tom Lane
Date:
Subject: Re: Re-nameing a database?