Re: allow CSV quote in NULL

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: allow CSV quote in NULL
Date: 2007-07-29 23:17:15
Message-ID: 20070729231715.GB4908@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Stephen Frost wrote:
> * Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> > Stephen Frost <sfrost(at)snowman(dot)net> writes:
> > > Please find attached a minor patch to remove the constraints that a
> > > user can't include the delimiter or quote characters in a 'NULL AS'
> > > string when importing CSV files.
> >
> > This can't really be sane can it?
>
> hm? It's a problem I've run into a number of times and I finally got
> fed up with it enough to create a patch for it.

I've seen people in the same situation before, so this makes sense from
that perspective. If there's a vote, the patch gets a +1 from me.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2007-07-29 23:43:34 Re: pipe chunking vs Windows
Previous Message Andrew Dunstan 2007-07-29 22:43:47 Re: pipe chunking vs Windows

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2007-07-30 12:41:38 use binary mode on syslog pipe on windows to avoid upsetting chunking protocol
Previous Message Andrew Dunstan 2007-07-29 18:32:36 enable logging of start time/cookie for all backend processes