Re: utf8 COPY DELIMITER? - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: utf8 COPY DELIMITER?
Date
Msg-id 4624F5A2.10100@markdilger.com
Whole thread Raw
In response to Re: utf8 COPY DELIMITER?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: utf8 COPY DELIMITER?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
> Mark Dilger wrote:
>> The \COPY command rejects multibyte delimiters.  Is this intentional 
>> behavior?
> 
> It is certainly a known limitation, and I suspect removing it could add 
> non-trivial overhead to the input processing.
> 
> What is the use case for using such a delimiter?

I'm working on fixing bugs relating to multibyte character encodings.  I  wasn't sure whether this was a bug or not.  I
don'tthink we should 
 
use the phrasing "COPY delimiter must be a single character" when, in 
utf8 land, I did in fact use a single character.  We might say "a single 
byte", or we might extend the functionality to handle multibyte characters.

mark

> cheers
> 
> andrew
> 
>>
> 



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: utf8 COPY DELIMITER?
Next
From: Andrew Dunstan
Date:
Subject: Re: utf8 COPY DELIMITER?