Re: CR/LF conversion (was: import error)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Oliver Vecernik <vecernik(at)aon(dot)at>, pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: CR/LF conversion (was: import error)
Date: 2003-02-02 08:14:41
Message-ID: 200302020814.h128EfB07898@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)aon(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message mallah 2003-02-02 13:02:28 Re: returning table from a function
Previous Message David Durst 2003-02-02 07:45:29 Re: Postgres MD5 Function