Re: Updated COPY CSV patch

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Updated COPY CSV patch
Date: 2004-04-14 08:05:27
Message-ID: 20040414080527.GA26417@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Tue, Apr 13, 2004 at 10:43:35AM -0400, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> > Thinking about this some more .... maybe the right rule would be "quote
> > all non-numeric non-null values".
>
> And how would you define "numeric"?

And don't forget that number format depend on locale. Now we ignore
LC_NUMERIC, but maybe at some time in future we will support it. I
think the best solution is quote all values including numerics too.

123,456 (in Czech this is one number with decimal "point" ;-)

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-04-14 09:27:57 Re: Updated COPY CSV patch
Previous Message Bruce Momjian 2004-04-14 04:30:07 Re: Updated COPY CSV patch