Re: [Patch] Windows relation extension failure at 2GB and 4GB
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Bryan Green <dbryan.green@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-11-07T03:32:21Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Replace off_t by pgoff_t in I/O routines
- 84fb27511dbe 19 (unreleased) landed
-
Add check for large files in meson.build
- d715aaa76f68 16.12 landed
- f6c1342e72aa 17.8 landed
- 434b605745a1 18.2 landed
- 79cd66f28c65 19 (unreleased) landed
On Fri, Nov 07, 2025 at 03:56:07PM +1300, Thomas Munro wrote: > On Fri, Nov 7, 2025 at 3:13 PM Michael Paquier <michael@paquier.xyz> wrote: >> There is a cc.sizeof(), which I guess should be enough to report the >> size of off_t, and fail if we try a size larger than 4GB for the >> segment file when a 4-byte off_t is detected. > > (It's signed per POSIX and on Windows so I assume you meant to write 2GB here.) Yes, right.. -- Michael