Tender Wang <tndrwang@gmail.com> writes: > PG Bug reporting form <noreply@postgresql.org> 于2025年3月25日周二 22:42写道: >> Passing a view to pg_freespace() triggers an Abort on HEAD.
> I think we can remove the Assert in smgropen(). > Any thoughts?
That seems like a "solution" that will allow other bugs. pg_freespace should be fixed to verify RELKIND_HAS_STORAGE() before it tries to access said storage.
Thanks for the advice. Please see the attached patch.