On Sun, May 26, 2024 at 12:08:46AM -0400, Tom Lane wrote:> After a few minutes' thought, how about:> > Assert((uint64) blocknum + (uint64) nblocks <= (uint64) mdnblocks(reln, forknum));
LGTM. Yeah that should be OK this way.--Michael