Re: BUG #16127: PostgreSQL 12.1 on Windows 2008 R2copy table from ‘large 2GB csv’report “Unknown error”

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: sirlipeng <sirlipeng(at)gmail(dot)com>
Cc: "tomas(dot)vondra(at)2ndquadrant(dot)com" <tomas(dot)vondra(at)2ndquadrant(dot)com>, "leiyanliang(at)highgo(dot)com" <leiyanliang(at)highgo(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16127: PostgreSQL 12.1 on Windows 2008 R2copy table from ‘large 2GB csv’report “Unknown error”
Date: 2019-11-28 10:55:30
Message-ID: CAC+AXB3GuhN4Od6c74yTBn7Ljvd2z+-PR8TQLe9yahicS76D6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Nov 28, 2019 at 5:16 AM sirlipeng <sirlipeng(at)gmail(dot)com> wrote:

> On Wed, Nov 20, 2019 at 09:42:49PM +0800, leiyanliang(at)highgo(dot)com wrote:
>
> >In that case, I think Tom is right it's likely the same issue as [1],
> >although that starts with a report about issues with 4GB. Maybe that's
> >due to using different windows version 2008 R2 vs. 2012 R2, though.
> >
> >It'd be good if you could test the latest patch [2] in that thread.
> >You'll need to build PostgreSQL on Windows, though - I don't have much
> >experience with that, but there are wiki pages about doing that either
> >using Visual Studio [3] or mingw [4].
>
> I have had the same problem on both win2008r2(64bit) and win10(64bit) with
> postgreSQL12.1.
>
> The problem has been solved when the above path been applied on win2008r2(64bit)
> and win10(64bit).
>
> It works:
> postgres=# copy github_events from '\\vmware-host\Shared
> Folders\share\large_eve
> nts.csv' csv;
> COPY 1146625
>
>
Great! Thanks for testing.

Regards,

Juan José Santamaría Flecha

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Etsuro Fujita 2019-11-28 11:25:46 Re: BUG #16139: Assertion fails on INSERT into a postgres_fdw' table with two AFTER INSERT triggers
Previous Message Konstantin Knizhnik 2019-11-28 09:06:06 Numeric is not leakproof