Re: [Patch] Windows relation extension failure at 2GB and 4GB - Mailing list pgsql-hackers

From Andres Freund
Subject Re: [Patch] Windows relation extension failure at 2GB and 4GB
Date
Msg-id nyqvz367sj7zum6fm32g4mhgarugdo5eayi44saheokmheo6p4@vnbs65jckga7
Whole thread Raw
In response to Re: [Patch] Windows relation extension failure at 2GB and 4GB  (Bryan Green <dbryan.green@gmail.com>)
Responses Re: [Patch] Windows relation extension failure at 2GB and 4GB
Re: [Patch] Windows relation extension failure at 2GB and 4GB
List pgsql-hackers
Hi,

On 2025-11-06 11:17:52 -0600, Bryan Green wrote:
> From d3f7543a35b3b72a7069188302cbfc7e4de9120b Mon Sep 17 00:00:00 2001
> From: Bryan Green <dbryan.green@gmail.com>
> Date: Thu, 6 Nov 2025 10:56:02 -0600
> Subject: [PATCH] Fix Windows file I/O to support files larger than 2GB

Could we add a testcase that actually exercises at least some of the
codepaths? We presumably wouldn't want to actually write that much data, but
it shouldn't be hard to write portable code to create a file with holes...

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Bryan Green
Date:
Subject: Re: [Patch] Windows relation extension failure at 2GB and 4GB
Next
From: Peter Eisentraut
Date:
Subject: Re: Some efforts to get rid of "long" in our codebase