Re: BUG #15858: could not stat file - over 4GB
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Emil Iggland <emil@iggland.com>
Cc: pgsql-hackers@lists.postgresql.org,
Juanjo Santamaria Flecha <juanjo.santamaria@gmail.com>
Date: 2020-10-09T20:22:20Z
Lists: pgsql-bugs, pgsql-hackers
Emil Iggland <emil@iggland.com> writes: > I tested the patch at hand, and it performs as expected. Files larger than 4GB can be imported. Thanks for testing! I'd been expecting one of our Windows-savvy committers to pick this up, but since nothing has been happening, I took it on myself to push it. I'll probably regret that :-( I made a few cosmetic changes, mostly reorganizing comments in a way that made more sense to me. regards, tom lane
Commits
-
Minor cleanup for win32stat.c.
- fcd11329db5b 14.0 landed
- 961e07b8ccb5 14.0 landed
- c94cfb38c32a 14.0 landed
-
plperl.h should #undef fstat along with stat and lstat.
- ed30b1a60dad 14.0 cited
-
Fix our Windows stat() emulation to handle file sizes > 4GB.
- bed90759fcbc 14.0 landed