Re: BUG #15858: could not stat file - over 4GB
Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
From: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael@paquier.xyz>, williamedwinallen@live.com, pgsql-bugs@lists.postgresql.org, Magnus Hagander <magnus@hagander.net>
Date: 2019-06-25T10:00:45Z
Lists: pgsql-bugs, pgsql-hackers
Attachments
- 0001-WIP-support-for-large-files-on-Win32-v2.patch (application/octet-stream) patch v2-0001
On Wed, Jun 19, 2019 at 8:02 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > In short it seems like maybe we should be doing something similar to the > patch that Sergey actually submitted in that discussion: > > https://www.postgresql.org/message-id/528853D3C5ED2C4AA8990B504BA7FB850658BA5C%40sol.transas.com > I will not have much time for this list in the next couple of weeks, so I will send this patch in its current WIP state rather than stalling without a reply. Most of its functionality comes from Sergey's patch with some cosmetic changes, and the addition of the 64 bits struct stat and fstat(). Regards, Juan José Santamaría Flecha
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