Hi, On Fri, Dec 19, 2025 at 11:00:54AM +0800, Chao Li wrote: > Given MAX_PHYSICAL_FILESIZE is just 1G (2^30), why availbytes has to be > pgoff_t instead of just int?
I agree that int would work, but maybe it's using pgoff_t just to be on the safe side of things should MAX_PHYSICAL_FILESIZE become 2^31 or higher one day? Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
