Re: COPY FROM is not 8bit clean

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Darcy Buskermolen <darcy@ok-connect.com>
Cc: pgsql-bugs@postgresql.org
Date: 2002-02-26T17:48:12Z
Lists: 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