Re: CopyReadLineText optimization - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: CopyReadLineText optimization
Date
Msg-id 47D04614.7060109@dunslane.net
Whole thread Raw
In response to Re: CopyReadLineText optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches

Tom Lane wrote:
> BTW, I notice that the code allows CSV escape and quote characters that
> have the high bit set (in single-byte server encodings that is).  Is
> this a good idea?  It seems like such are extremely unlikely to be the
> same in two different encodings.  Maybe we should restrict to the ASCII
> range?  Especially if the client encoding is multibyte ...
>
>
>

In the commonest case these are both either " or '. I would not have any
objection to requiring them to be ASCII chars.

cheers

andrew

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: CopyReadLineText optimization
Next
From: Andrew Dunstan
Date:
Subject: Re: CopyReadLineText optimization