Re: COPY WITH CSV FORCE QUOTE *

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Chris Spotts <rfusca(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: COPY WITH CSV FORCE QUOTE *
Date: 2009-07-16 20:55:31
Message-ID: 4A5F93C3.4090809@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Spotts wrote:
>>>
>>> As for importing data from programs that produce all values in quotes
>>> including null/missing values (your pro case above), arguably what we
>>> need is another flag that would turn an empty string into a null.
>>
>> ooooh, TODO, please? There's a lot of this out there, and I've had
>> to build sed into a lot of import routines.
>>
> +1 For that on the TODO, happens all the time...
>

Well, somebody had better suggest a syntax for it, preferably without
adding yet another keyword.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-07-16 21:04:58 Re: Make planning via GEQO repeatable
Previous Message Euler Taveira de Oliveira 2009-07-16 20:54:10 Re: Docbook toolchain interfering with patch review?