Re: COPY FROM is not 8bit clean - Mailing list pgsql-bugs

From Tom Lane
Subject Re: COPY FROM is not 8bit clean
Date
Msg-id 998.1014745692@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY FROM is not 8bit clean  (Darcy Buskermolen <darcy@ok-connect.com>)
List pgsql-bugs
Darcy Buskermolen <darcy@ok-connect.com> writes:
> Postgres was not compiled with Multibyte, if I replace the if (delimc == c)
> with if (strstr(delim,c)) it works as expected. This changes was
> implemented for performance reasons according to the CVS log.

Yeah, my error :-(.  See Tatsuo's reply for the correct fix.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Darcy Buskermolen
Date:
Subject: Re: COPY FROM is not 8bit clean
Next
From: Bruce Momjian
Date:
Subject: Re: COPY FROM is not 8bit clean