Re: Updated COPY CSV patch - Mailing list pgsql-patches

From Karel Zak
Subject Re: Updated COPY CSV patch
Date
Msg-id 20040414080527.GA26417@zf.jcu.cz
Whole thread Raw
In response to Re: Updated COPY CSV patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Updated COPY CSV patch  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-patches
On Tue, Apr 13, 2004 at 10:43:35AM -0400, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.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@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Updated COPY CSV patch
Next
From: "Andrew Dunstan"
Date:
Subject: Re: Updated COPY CSV patch