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: "wangsh.fnst@fujitsu.com" <wangsh.fnst@fujitsu.com>
Cc: Michael Paquier <michael@paquier.xyz>, Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, Emil Iggland <emil@iggland.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-02-25T06:21:07Z
Lists: pgsql-bugs, pgsql-hackers
"wangsh.fnst@fujitsu.com" <wangsh.fnst@fujitsu.com> writes:
> Do you have a plan to backpatch this commit into REL_12_STABLE or REL_13_STABLE ?

https://www.postgresql.org/message-id/YCsZIX2A2Ilsvfnl@paquier.xyz

			regards, tom lane



Commits

  1. Minor cleanup for win32stat.c.

  2. plperl.h should #undef fstat along with stat and lstat.

  3. Fix our Windows stat() emulation to handle file sizes > 4GB.