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 1pN4z9-0001eW-82 for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Feb 2023 04:44:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pN4z8-0004Dj-0Y for pgsql-bugs@arkaria.postgresql.org; Wed, 01 Feb 2023 04:44:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pN4z7-0004DZ-OE for pgsql-bugs@lists.postgresql.org; Wed, 01 Feb 2023 04:44:37 +0000 Received: from webmail.nssys.co.jp ([202.218.252.27]) by makus.postgresql.org with smtp (Exim 4.92) (envelope-from ) id 1pN4z5-0006KD-7v for pgsql-bugs@lists.postgresql.org; Wed, 01 Feb 2023 04:44:36 +0000 Received: from mail2.nssys.co.jp (mail2.nssys.co.jp [202.218.252.59]) (envelope sender: ) (not using TLS) by webmail.nssys.co.jp (Active!Hunter) with ESMTP id BNse81810A; Wed, 1 Feb 2023 13:44:30 +0900 Received: (qmail 9268 invoked from network); 1 Feb 2023 13:44:27 +0900 Received: from unknown (HELO nssys.co.jp) (202.218.252.27) by nssys.co.jp with ESMTPA; 1 Feb 2023 13:44:27 +0900 MIME-Version: 1.0 Message-ID: <20230201044430.00013F8C.0554@nssys.co.jp> Date: Wed, 01 Feb 2023 13:44:30 +0900 From: To: Subject: Was there a bug fix in the COPY command in Version =?US-ASCII?B?MTU/?= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Priority: 3 X-MAILER: Active! mail List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello. I had the symptoms when I tried to import a file larger than 2GB with the COPY command. # copy A_TABLE from 'C:/A_TABLE.dat' with BINARY; could not stat file "A_TABLE.dat": Unknown error Up until PostgreSQL Version 11..14 it was failing in the same way. But, Up to Version 10, a 2GB file created with `COPY TO` could be copied with `COPY TO`. However, in Version 15, I recreated the instance and ran the COPY command, and it worked. The command is simple. > `COPY A_TABLE FROM 'C:/A_TABLE.dat' with BINARY;` I'm using the Windows version of EDB Binaries. Did something change in PostgreSQL 15?