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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oliver Vecernik <vecernik(at)aon(dot)at>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: CR/LF conversion (was: import error)
Date: 2003-01-28 15:32:35
Message-ID: 13297.1043767955@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Juergen 2003-01-28 15:44:29 double linked list
Previous Message Tom Lane 2003-01-28 15:28:26 Re: import error