PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> postgres=# copy github_events from 'd:\large_events.csv' csv;
> ERROR: could not stat file "d:\large_events.csv": Unknown error
> ----->>>Please note this error!!!
> 1. d:\large_events.csv this file is large 2GB
Given that, I wonder if this isn't the same issue being worked
on over here:
https://www.postgresql.org/message-id/flat/15858-9572469fd3b73263(at)postgresql(dot)org
https://commitfest.postgresql.org/25/2189/
If you could help review/test that patch, it would make it more
likely to get fixed soon.
regards, tom lane