Re: COPY FROM is not 8bit clean

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Darcy Buskermolen <darcy(at)ok-connect(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: COPY FROM is not 8bit clean
Date: 2002-02-26 17:48:12
Message-ID: 998.1014745692@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Darcy Buskermolen <darcy(at)ok-connect(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2002-02-26 18:05:37 Re: COPY FROM is not 8bit clean
Previous Message Erol Ozcan 2002-02-26 16:36:02 Re: Bug #604: string join problem