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 04:57:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Darcy Buskermolen <darcy(at)ok-connect(dot)com> writes:
> When useing COPY FROM 'file' DELIMITER '\254' copyfrom reads past the
> delimiter and ends up with parse errors when trying to do the insert

Are you perhaps operating in a multibyte encoding in which \254 is
just the first byte of a multibyte character?

I'm not sure what we do in such a case, and even less sure what we
should do ... but I am entirely prepared to believe that we don't
do the Right Thing ...

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: toxicDate: 2002-02-26 10:40:49
Subject: problems with configure connected with readline&history
Previous:From: Darcy BuskermolenDate: 2002-02-26 04:45:24
Subject: COPY FROM is not 8bit clean

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