Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQyuM-0005ds-LL for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Oct 2020 20:22:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kQyuL-0000oG-Hh for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Oct 2020 20:22:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQyuL-0000o3-BL for pgsql-hackers@lists.postgresql.org; Fri, 09 Oct 2020 20:22:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQyuJ-00049q-6j for pgsql-hackers@lists.postgresql.org; Fri, 09 Oct 2020 20:22:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 099KMKkN2831748; Fri, 9 Oct 2020 16:22:21 -0400 From: Tom Lane To: Emil Iggland cc: pgsql-hackers@lists.postgresql.org, Juanjo Santamaria Flecha Subject: Re: BUG #15858: could not stat file - over 4GB In-reply-to: <160209800917.1171.12856112208955258625.pgcf@coridan.postgresql.org> References: <15858-9572469fd3b73263@postgresql.org> <160209800917.1171.12856112208955258625.pgcf@coridan.postgresql.org> Comments: In-reply-to Emil Iggland message dated "Wed, 07 Oct 2020 19:13:29 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2831746.1602274940.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 09 Oct 2020 16:22:20 -0400 Message-ID: <2831747.1602274940@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Emil Iggland writes: > I tested the patch at hand, and it performs as expected. Files larger th= an 4GB can be imported. Thanks for testing! I'd been expecting one of our Windows-savvy committers to pick this up, but since nothing has been happening, I took it on myself to push it. I'll probably regret that :-( I made a few cosmetic changes, mostly reorganizing comments in a way that made more sense to me. regards, tom lane