Re: [Patch] Windows relation extension failure at 2GB and 4GB

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Bryan Green <dbryan.green@gmail.com>, Thomas Munro <thomas.munro@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2025-12-02T03:02:39Z
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

On Mon, Dec 01, 2025 at 09:59:52PM -0500, Andres Freund wrote:
> On 2025-12-02 11:46:56 +0900, Michael Paquier wrote:
>> I doubt that we can drop this check yet.  There are still a lot of
>> places in the tree that need to be switched from off_t to pgoff_t,
>> like the buffer APIs, etc.
> 
> Hm? What are you thinking about re buffer APIs?

buffile.h and buffile.c still have traces of off_t.
--
Michael