Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group