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 1gyUVz-000423-QW for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Feb 2019 04:38:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gyUVy-000886-FE for pgsql-bugs@arkaria.postgresql.org; Tue, 26 Feb 2019 04:38:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyUVy-00087y-8W for pgsql-bugs@lists.postgresql.org; Tue, 26 Feb 2019 04:38:46 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyUVw-0005nP-3d for pgsql-bugs@lists.postgresql.org; Tue, 26 Feb 2019 04:38:45 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C4AB1219FE; Mon, 25 Feb 2019 23:38:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 25 Feb 2019 23:38:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=GzpPbPyMlPsTZbxacTPSScud7Ka BnWGJxC8Vv7JjdaQ=; b=nWzsFf09RfqIzZ7sT2znfEuwgN2OgJhQHu67IFtKYX7 HmFXhK5A6YhA6Y3h0Vr3oRqhTVJ5+mDm0kgflvCfKfgIJAc4et5YOKzNGN6wuS1M 9a7YPaKvIPTbNONp3r8MgMXQuvlo2UvRec+/PD2YA/f+EQgaOqedf38R9b8zzeBa ui3QqqYBx/7olb7+cWvQF4vF+hVkatB6OTUI4iAGJ88HQD/cHoFerVuHDTtFxR55 flZLkI7nLgEaTa/nTvmbpampf0daKA9Pl3qWmxRfGiqI6SkuXTJ5jC2itGprmYKz SeodBBmg2FY732PQaCL72d5K0uj+NfziQMboSunijLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=GzpPbP yMlPsTZbxacTPSScud7KaBnWGJxC8Vv7JjdaQ=; b=SfXXxkKrw7dfqwuXMrT7H7 qpFN7DOtmdczxarpaqJG/6MSZJP3ap1j1jtUsZb6TdC0jFrEyAjZ3ngCDWjRn/pt jdIqUL320DKF6ThgpYfQSTj6eHqj71kEXhJUZ3RO5Nb4kRlEn5/riMh4WPx7cem4 XrE879OxkFHaBaY+Li8Xv+surwVMslGXxI66pzIQu+v5vrUuUPAs89fTo22OQcCS vrdbiTIewAhYb9caRHuIIcfHt9QxLqoAbR2KC17i2E/x5sbJRevTL2K3wckyKzf2 zlcox79QxluRhp5kwj0MhJkfGO0dwhEi01F/Xpxzrn5gf2rhNrrztBCGRCa9BY0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrudekgdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecukfhppeduudekrddvgedurddvhedtrddvudenucfrrghrrghm pehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiienucevlhhush htvghrufhiiigvpedu X-ME-Proxy: Received: from paquier.xyz (mp76f1fa15.ap.nuro.jp [118.241.250.21]) by mail.messagingengine.com (Postfix) with ESMTPA id 158E9E423B; Mon, 25 Feb 2019 23:38:40 -0500 (EST) Date: Tue, 26 Feb 2019 13:38:37 +0900 From: Michael Paquier To: sandy kumar Cc: David Rowley , PostgreSQL mailing lists Subject: Re: BUG #15654: COPY command not working for 2gb CSV files Message-ID: <20190226043837.GC27822@paquier.xyz> References: <15654-bd233aae1c150270@postgresql.org> <20190225234352.GH30864@paquier.xyz> <20190226000953.GA27822@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Sr1nOIr3CvdE5hEN" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Sr1nOIr3CvdE5hEN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 26, 2019 at 09:48:11AM +0530, sandy kumar wrote: > Thanks Michael and David for the information, is there any workaround for > this issue? Splitting the file into multiple pieces is the first thing I can think of. COPY does not really offer an option to bypass the code involved. -- Michael --Sr1nOIr3CvdE5hEN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlx0wswACgkQnvQgOdby QH0IPw/+KP4sv955Dq02iYKsk46i+2RByh/c2BAZOqZntfubPhAhDXMBt35ojSi+ yPC7GBlZhCh97CfKoRMk3X3OXSpxbA+i+FPSfps4ZtzIKvgHUfh8ojLZBle6mkwR anspGbgeImZXMYBQqHpFekm2AyXYpxkiL2TcrZvYjapAbVT6EckixM2zCkgUe4ue C81pASKEAII+7SbWFXiX9FJd9bTMbOeYaeQaXlJ29wMSWqln2QlazkPd+KK/bCqN uO/EMqTFPwiHHKsrup9ZDHFiQ62V3dfhKJowSQdyQM0cYyuXQEWXYJ188ACAcXSn naQKvH8AGxXMmJcVDUT+Kk7KqWXN6arLP9iUuxFuuu3LmADifqow/i/QvGWYPgpU oEoB/WcKdxx/V0IMutfJpfK7xfmkYNuKASP5vvWYUBQNQ6WfQImXiHhYCSt10C3c fWTtIvPiTD+DJQ45ui8gyqm46aCxiQKLWo+hZ5ekZUr6mjHpUKwiSBB4p5tnDtKM 4eUdXCV6/Ddr5Etvp5oCNJjxtuBgbGJ6gE08yn4LOoP6F0lQ5h08F8yUsO6QlEqG 3j1k5Ba90LPMAkhQkgmHUtJsh/s9pZpBlw9sQymLllvTkvQo7NET4ngQfxRp2B59 ep5cJGc76okI/wUz5shfgExoCqAEG1noJNGdrAUEBqVOCA9d9FM= =jpDq -----END PGP SIGNATURE----- --Sr1nOIr3CvdE5hEN--