Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 5BF72B5DC33 for ; Thu, 4 Aug 2011 04:48:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 49274-07 for ; Thu, 4 Aug 2011 07:48:17 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 989C9B5DBF1 for ; Thu, 4 Aug 2011 04:48:16 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p747mFpk037921 for ; Thu, 4 Aug 2011 07:48:15 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p747mFSN037920; Thu, 4 Aug 2011 07:48:15 GMT (envelope-from www) Date: Thu, 4 Aug 2011 07:48:15 GMT Message-Id: <201108040748.p747mFSN037920@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6148: unterminated CSV quoted field From: "william wei" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201108/43 X-Sequence-Number: 30855 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"