Re: utf8 COPY DELIMITER?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, andrew(at)dunslane(dot)net, pgsql(at)markdilger(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: utf8 COPY DELIMITER?
Date: 2007-04-18 00:19:26
Message-ID: 200704180019.l3I0JQa27956@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tatsuo Ishii wrote:
> > On looking at the code, there's another issue: the CSV escape and quote
> > characters are assumed to be the same in client and server encodings,
> > because they're checked for before we do transcoding. This pretty much
> > restricts them to be ASCII.
> >
> > regards, tom lane
>
> +1.
>
> The message in question should be something like:
>
> "COPY delimiter must be a single ASCII character"

New text is:

The single ASCII character that separates columns within each row

Backpatched to 8.2.X.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-04-18 00:38:57 pgsql: Update error message for COPY with a multi-byte delimiter.
Previous Message Martin Langhoff 2007-04-18 00:08:37 Re: Hacking on PostgreSQL via GIT