Re: BUG #15975: Copy from large text files on Windows returns "iso-8859-1 error" - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15975: Copy from large text files on Windows returns "iso-8859-1 error"
Date
Msg-id 19689.1566597236@sss.pgh.pa.us
Whole thread Raw
In response to BUG #15975: Copy from large text files on Windows returns "iso-8859-1 error"  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15858: could not stat file - over 4GB
Next
From: Michael Paquier
Date:
Subject: Re: BUG #15964: vacuumdb.c:187:10: error: use of undeclaredidentifier 'FD_SETSIZE'