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

From Bruce Momjian
Subject Re: CR/LF conversion (was: import error)
Date
Msg-id 200302020814.h128EfB07898@candle.pha.pa.us
Whole thread Raw
In response to Re: CR/LF conversion (was: import error)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
We are supporting Win32 in 7.4, so it is very likely COPY will support
carriage returns the next release.

---------------------------------------------------------------------------

Tom Lane wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Joe Conway
Date:
Subject: Re: Postgres MD5 Function
Next
From:
Date:
Subject: Re: returning table from a function