Re: COPY for CSV documentation - Mailing list pgsql-patches

From Tom Lane
Subject Re: COPY for CSV documentation
Date
Msg-id 8705.1081773499@sss.pgh.pa.us
Whole thread Raw
In response to Re: COPY for CSV documentation  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: COPY for CSV documentation
List pgsql-patches
Bruno Wolff III <bruno@wolff.to> writes:
> On Mon, Apr 12, 2004 at 02:26:14 -0400,
>   Andrew Dunstan <andrew@dunslane.net> wrote:
>> a few points:
>> . in CSV mode, NULL should default to '' - that was in what I sent in.

> Postgres normally treats an empty string as an empty string. Are you sure
> you really want it to be treated as a NULL by default in this one place?

I think that's a spectacularly bad idea too.  People who really want
that can write "NULL ''", but it shouldn't be implied by CSV mode.

            regards, tom lane

pgsql-patches by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: COPY for CSV documentation
Next
From: Andrew Dunstan
Date:
Subject: Re: COPY for CSV documentation