"Zeugswetter Andreas ADI SD" <Andreas.Zeugswetter@s-itsolutions.at> writes:
>> We're already assuming that; otherwise base backups for PITR
>> don't work.
> I think we could, but iirc we did not. We do not need that assumption if
> you don't
> turn off fullpage writes.
Oh, I had forgotten that RestoreBkpBlocks restores unconditionally.
Good point.
It's still the case that there's no need to allow pages into shared
buffers that don't pass the header-is-valid checks. If they don't
pass, then there's no way that bufmgr has a conflicting copy.
regards, tom lane