PG Bug reporting form <noreply@postgresql.org> writes:
> It turns out that trying to COPY FROM a large textfile, say several
> gigabytes, will always fail.
This is being worked on. If you're in a position to review or test
the patch being discussed here:
https://commitfest.postgresql.org/24/2189/
please do.
> According to Stack Overflow, this only happens
> on PostgreSQL 11.
Seems unlikely. There's never been support in PG for working around
Windows' weirdness in this area (ie lack of stat() support for the case).
regards, tom lane