pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Vecernik <vecernik@aon.at>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: CR/LF conversion (was: import error)
Date: Tue, 28 Jan 2003 10:32:35 -0500
Message-ID: <13297.1043767955@sss.pgh.pa.us> (raw)
In-Reply-To: <3E368EE5.8080501@aon.at>
References: <3E368509.9050200@aon.at>
	<3E368EE5.8080501@aon.at>

Oliver Vecernik <vecernik@aon.at> writes:
> It's always the same problem with CR/LF conversions ...

Ah, you figured it out.  (Didn't see your followup right away because of
the changed subject line.)

> After changing it to just LFs, everthing worked like a charm. Is there 
> an elegant way to handle this automatically?

There are plans to make COPY treat all common styles of newline alike.
We had to wait a release or two after taking the first step, though,
since it's an incompatible change.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <13297.1043767955@sss.pgh.pa.us>
Permalink:  ../13297.1043767955@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/13297.1043767955@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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vecernik@aon.at
  Subject: Re: CR/LF conversion (was: import error)
  In-Reply-To: <13297.1043767955@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