Re: [HACKERS] copy - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] copy
Date
Msg-id 2198.912194193@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] copy  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
jwieck@debis.com (Jan Wieck) writes:
>     I can, but it isn't a bug! At least not one in the backend.
>     The  file must contain CRLF at the end of a line instead of a
>     single LF.

Good eye!  I had noticed the odd formatting of Jose's output, but
didn't draw the right conclusion --- I thought it just got messed
up in the preparation of his mail message.

I guess the next question is whether we like this behavior or not.

I could see an argument for stripping CR if it's not quoted somehow...
but this ought to be considered in the context of the whole is-COPY-
8-bit-clean issue that keeps coming up.
        regards, tom lane


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] copy
Next
From: Tom Ivar Helbekkmo
Date:
Subject: Re: [HACKERS] Re: Mysql 321 - Mysql 322 - msql