Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMCnU-0006DH-US for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2019 14:34:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hMCnT-0002He-Ml for pgsql-general@arkaria.postgresql.org; Thu, 02 May 2019 14:34:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMCnT-0001vG-4l for pgsql-general@lists.postgresql.org; Thu, 02 May 2019 14:34:51 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMCnQ-0005sZ-AS for pgsql-general@postgresql.org; Thu, 02 May 2019 14:34:49 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 051DE80C; Thu, 2 May 2019 10:34:45 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 02 May 2019 10:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=S VPHhAh5rSJ53E0Vb7D664I2hoWpz4P5WKPp8MEJpc4=; b=n73nUbsaB17NG+Ux+ vQU5XJMWyN2RuvDFXEjDGQEzXm3qj0Ej+/AstNAUjtsbbWI/K+djTqWoIrWSHzB8 2hg4DR1nkkho3JwXdyO/4vUZJGIVg8QCDwG1ASWHcKaSC8wYlscadkp99zptYHgQ hEPkKQk8nk/MQQZX12b5ARRI2tNmcKLwGANb7WTSg26KTVklwxl8+qP3TFNSkiNX UoqCxKavRZcgmX94O5ZuuIGDEmCOLBYhg+dicYsT7Vka0oKzf93jDRJexntO30iA VRGHNwqOP7oF/IPzfigE3hRzxwFZ9J7OyaOhKhb54SG2jn+HB5ivSCiaiXOz0j/Z QVi6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=SVPHhAh5rSJ53E0Vb7D664I2hoWpz4P5WKPp8MEJp c4=; b=8IhIz78aHekEJnB9/WCB1fMLhUMPuwdMZmfTworDAVeNxtR4O49dQKIhA UpXasp1Aal4+wAsB7F2Ilo3s4qcLrdma8spXSW+Vfgp9tL9RJ+rbHsVjs3LTvQn3 OyXfcyV/yJee9za1wdQ8PuXhv0k8FB2uQM+Vfhj0YR++6l6IcvFLF1KzNMNG/VSx EgxFoF+IHyHJz/ItxyaQofxYDiHdFLVG5awIwMiJ25s/FNz0fDskgKMRzKdSoOBa Z9B6xUMyHsQqBVfW+b7ByQOAudUzX9roVSQa1qRx+lO3IkmN8iqQTMkpU6ABsrNs fYddtBgLXhNrZDbqSqMZDMZl0qZMQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieelgdektdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughrihgr nhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh eqnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilhhfrhho mheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhushhtvg hrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 289FCE4382; Thu, 2 May 2019 10:34:44 -0400 (EDT) Subject: Re: Back Slash \ issue To: ravikrishna@mail.com, Guntry Vinod Cc: "pgsql-general@postgresql.org" , Venkatamurali Krishna Gottuparthi , Biswa Ranjan Dash References: From: Adrian Klaver Message-ID: <3f17d700-5cfb-637a-dc70-112b69e53b01@aklaver.com> Date: Thu, 2 May 2019 07:34:43 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/2/19 7:30 AM, ravikrishna@mail.com wrote: > > We have dump from DB2 and trying to upload it Postgre. > DB2 export command has an option to export it as CSV which quotes data > so that any embedded > lines or special characters inside the data is treated fine.  Does the > csv format has quotes enclosing it ? Please show the command you use to import into Postgres. Also the error message you get. -- Adrian Klaver adrian.klaver@aklaver.com