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 kwxpdgdf5qftwp57mqwzcjjjallmuyvatwmagj6qrntbsv2ugm@kmunmiku7xvl
Whole thread Raw
In response to Re: [Patch] Windows relation extension failure at 2GB and 4GB  (Bryan Green <dbryan.green@gmail.com>)
List pgsql-hackers
Hi,

On 2025-11-11 13:22:49 -0600, Bryan Green wrote:
> diff --git a/src/test/modules/test_large_files/README b/src/test/modules/test_large_files/README
> new file mode 100644
> index 0000000000..d7caae49e6
> --- /dev/null
> +++ b/src/test/modules/test_large_files/README
> @@ -0,0 +1,53 @@
> +Test Module for Windows Large File I/O
> +
> +This test module provides functions to test PostgreSQL's ability to
> +handle files larger than 4GB on Windows.
> +
> +Requirements
> +
> +- Windows platform
> +- PostgreSQL built with segment size greater than 2GB
> +- NTFS filesystem (for sparse file support)

I don't think this test should only run on windows. That a) makes it harder to
maintain for non-windows devs b) assumes that only windows could ever have
issues.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: generic plans and "initial" pruning
Next
From: Alexander Korotkov
Date:
Subject: Re: Add tab completion support for WAIT FOR command