Karel Zak said:
> 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" ;-)
>
I am assuming that such users would use a delimiter other than a comma.
Any string that contains the delimiter *must* be quoted, regardless of
type. That's just the way CSVs work - it's not an artifact of ours.
cheers
andrew