pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: johann@myrkraverk.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15975: Copy from large text files on Windows returns "unknown error"
Date: Fri, 23 Aug 2019 17:53:56 -0400
Message-ID: <19689.1566597236@sss.pgh.pa.us> (raw)
In-Reply-To: <15975-80e6438a9a73f74f@postgresql.org>
References: <15975-80e6438a9a73f74f@postgresql.org>

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





view thread (2+ messages)

Message-ID: <19689.1566597236@sss.pgh.pa.us>
Permalink:  ../19689.1566597236@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19689.1566597236@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, johann@myrkraverk.com
  Subject: Re: BUG #15975: Copy from large text files on Windows returns "unknown error"
  In-Reply-To: <19689.1566597236@sss.pgh.pa.us>
  References: <15975-80e6438a9a73f74f@postgresql.org> <19689.1566597236@sss.pgh.pa.us>

* 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