pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: william wei <wei_jieyun@founder.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6148: unterminated CSV quoted field
Date: Thu, 4 Aug 2011 07:48:15 GMT
Message-ID: <201108040748.p747mFSN037920@wwwmaster.postgresql.org> (raw)


The following bug has been logged online:

Bug reference:      6148
Logged by:          william wei
Email address:      wei_jieyun@founder.com
PostgreSQL version: 8
Operating system:   linux
Description:        unterminated CSV quoted field
Details: 

error: unterminated CSV quoted field. when import CSV file.

copy command:
COPY tablename FROM '/tmp/test.cvs' csv DELIMITER AS ',' NULL AS '' QUOTE AS
'"';

CVS file content: (error when value contains \")
"value1 \" text ","value2","value3"



Message-ID: <201108040748.p747mFSN037920@wwwmaster.postgresql.org>
Permalink:  ../201108040748.p747mFSN037920@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201108040748.p747mFSN037920@wwwmaster.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: wei_jieyun@founder.com
  Subject: Re: BUG #6148: unterminated CSV quoted field
  In-Reply-To: <201108040748.p747mFSN037920@wwwmaster.postgresql.org>
  References: <201108040748.p747mFSN037920@wwwmaster.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox