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-08T09:40:36Z
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 →
  1. Replace off_t by pgoff_t in I/O routines

  2. Add check for large files in meson.build

Attachments

On Fri, Nov 07, 2025 at 12:32:21PM +0900, Michael Paquier wrote:
> On Fri, Nov 07, 2025 at 03:56:07PM +1300, Thomas Munro wrote:
>> (It's signed per POSIX and on Windows so I assume you meant to write 2GB here.)
> 
> Yes, right..

So, please find attached a patch that adds a check for large files in
meson as we do now in ./configure, for a backpatch down to v16 (once
the branch freeze is lifted next week of course). 

Thoughts?
--
Michael