On 09/09/2021 17:25, Tom Lane wrote:
> Having done that, the check in md.c could be reduced to an Assert,
> although there's something to be said for leaving it as-is as an
> extra layer of defense.
Some operations call smgrextend() directly, like B-tree index creation.
We don't want those operations to hit an assertion either.
- Heikki