Julien Rouhaud <rjuju...@gmail.com> writes: > On Tue, Jan 18, 2022 at 02:21:14PM +0800, 陈佳昕(步真) wrote: >> We know that PostgreSQL doesn't support a single relation size over 32TB, >> limited by the MaxBlockNumber. But if we just 'insert into' one relation over >> 32TB, it will get an error message 'unexpected data beyond EOF in block 0 of >> relation' in ReadBuffer_common.
> I didn't try it but this is supposed to be caught by mdextend(): > ... > Didn't you hit this? Probably not, if the OP was testing something predating 8481f9989, ie anything older than the latest point releases. (This report does seem to validate my comment in the commit log that "I think it might confuse ReadBuffer's logic for data-past-EOF later on". I'd not bothered to build a non-assert build to check that, but this looks about like what I guessed would happen.) regards, tom lane