Re: unexpected data loaded into database when used COPY FROM

2021-07-07 Thread Tom Lane
"jian...@fujitsu.com" writes: > When I used COPY FROM command on windows, I found that If the line data ends > with a backslash and carriage return/newlines(\r\n),COPY FROM mishandle the > line . > As a result, there were unexpected data loaded into database. If what you're saying is that

unexpected data loaded into database when used COPY FROM

2021-07-07 Thread jian...@fujitsu.com
Hi When I used COPY FROM command on windows, I found that If the line data ends with a backslash and carriage return/newlines(\r\n),COPY FROM mishandle the line . As a result, there were unexpected data loaded into database. The following case can reproduce this issue.