Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJ5tt-0003Ri-Ks for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Nov 2018 00:04:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gJ5tp-0006cP-UZ for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Nov 2018 00:04:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJ5tn-0006cH-QF for pgsql-bugs@lists.postgresql.org; Sun, 04 Nov 2018 00:04:17 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gJ5tk-0003Zt-O3 for pgsql-bugs@lists.postgresql.org; Sun, 04 Nov 2018 00:04:14 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6AEB021D4E; Sat, 3 Nov 2018 20:04:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 03 Nov 2018 20:04:11 -0400 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=fm3; bh=s9ktWM3uoyZqramVCzkFrb7n3Jz z06YuW37sDOPAtsI=; b=NeM/2iWdQbOtJcUDML/hgFhfOMCzNyrjfv0r5bXx0TM qlkahVjoOCoOxzmsRGlYNb5PYye/KaaUxbBYFUMrvG/0fbZKQlJK9gdsqS4PFWkH EXdMML+LlsX76/ejJOM1WqfgxiSBYqS5+pS4sd9T60uFT8uxOxyu7gbuUj3+sECe kGWcjG5mfCMgnJgZKuqAlwUtcjrYNFPU7Awkn4YKXBxh5rz5CWOBEyn05kiZyopb 12vJH4PXPAmIMGnN0hxaf5pAucqL/+M78iJmnNwV695SJmvfGa3qhM+nPXY6MDKk X6abY3yAhWi9iHoAMwrE5WCSVUYy8rVIXAbRVjc/3lA== 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=fm1; bh=s9ktWM 3uoyZqramVCzkFrb7n3Jzz06YuW37sDOPAtsI=; b=XSU7vLhKoHgXYnErmrf062 YHIeJvRzVV3VeyTVvNPpRyEQO1RaGYTIbmmhTl1nhuY/mjpcrBEmS4K2R7Li34jY gZr4sMqgBlpPoVPgue9GVUdtjfaRyxvq1nJf/08feKDTG7NqQ8AbqKZ6R6c6h5eR DK+8N+nBScp7lm7+UGV2R7ZXbbONu3Lwx660UUFK8g3hcIg6CwBMBOj6WUSaaTeP RhGB13Pn8PLRntQy4nRDjkDONtf+pnJDpnePxv2cIMZOVd2Y/7q+K+XWlnhq00FO QlvEdjADvrkl22Rf5Tv4HOwwLpLcKix7O/6AJ2IOTYpismAxdTn372LrhvPogw6g == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id E90CEE427A; Sat, 3 Nov 2018 20:04:08 -0400 (EDT) Date: Sun, 4 Nov 2018 09:04:05 +0900 From: Michael Paquier To: Daniel Verite Cc: Alistair Johnson , pgsql-bugs@lists.postgresql.org Subject: Re: Unable to copy large (>2GB) files using PostgreSQL 11 (Windows) Message-ID: <20181104000405.GA1743@paquier.xyz> References: <20181102233512.GD1899@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2018 at 12:11:53PM +0100, Daniel Verite wrote: > But I do get the error when using PG 11.0 packaged by > EDB and trying the same test on the same machine > (that is, \copy table from file with a file a bit over 2GB). This API layer comes from MSVC compilation, mingw has its own way of handling the stat() layer, which we could perhaps get inspiration =66rom.. -- Michael --opJtzjQTFsWo+cga Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlveN3UACgkQnvQgOdby QH0i1BAAh9L4e8rroY0f2exlTiDHsNcyjLqS4DVNMjgono9UJEakz0br7g/VPhdD cZ0XlShoJAdJb3oZ97nWDwNHOdchFLrjz4ETWL1Bjc3OGalXYSKjI+78z8LAGwTy yfCJhlAGhua3akgr6PovDpr7cyRqOBJv9sAAIHjYThkbHfI4eNMXdur8vFZ9+bF0 FWtlQmxmBoQZfXHCI3gYSbMLThR+x1fqt4xPpO/+CAUu3iQKZKRZR2zQV/p6+5yy lXlcuK/KnG2X5rKLLqSrBhuvW64kdjzRJr7PTms/kNGE6QexmCcox3Hn34O70Cu5 g7GiQDlRsoQNxV4DLw+eL5V7cmfdb+7NJYb/uwkQR4+Edjph+w4BsWZsCTuPfHYW ialhBnQ2CCjV8zfkciT8IHvkIwnXB42ZCX0h0UAWLfl+QbytjfD1DCpbhFgBHAqT I9XWS1e7OQY3E44BEEjfaGxY8CNIiUwAZ483oKEVNYyHXqla+OW09BE6VErcZVK2 qDIjBvaI8mSYuCbobg3F8LdNthnfgwxpSrVULXCEJFpRC9RX00D9XhXC67xXSIve un3P1HtQJvlUkzakjlCcuiq7EBXRf7IRRmFMSD82HdgELeqCiGbgYyQNrgpYDo39 RG+ytGMXWfHOYheCMZPo7odCCAj1zRymnmSSx0izhevVSxUQ26g= =KpIn -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--