Re: CR/LF conversion (was: import error) - Mailing list pgsql-sql

From Tom Lane
Subject Re: CR/LF conversion (was: import error)
Date
Msg-id 13297.1043767955@sss.pgh.pa.us
Whole thread Raw
In response to Re: CR/LF conversion (was: import error)  (Oliver Vecernik <vecernik@aon.at>)
Responses Re: CR/LF conversion (was: import error)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: import error
Next
From: Tom Lane
Date:
Subject: Re: subselect return in where clause