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