From: h-shibata@nssys.co.jp
To: pgsql-bugs@lists.postgresql.org
Subject: Was there a bug fix in the COPY command in Version 15?
Date: Wed, 01 Feb 2023 13:44:30 +0900
Message-ID: <20230201044430.00013F8C.0554@nssys.co.jp> (raw)
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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: h-shibata@nssys.co.jp
Subject: Re: Was there a bug fix in the COPY command in Version 15?
In-Reply-To: <20230201044430.00013F8C.0554@nssys.co.jp>
References: <20230201044430.00013F8C.0554@nssys.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox