Re: BUG #18866: Running pg_freespace() on views triggers an Abort

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18866: Running pg_freespace() on views triggers an Abort
Дата
Msg-id 1280897.1742920635@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18866: Running pg_freespace() on views triggers an Abort  (Tender Wang <tndrwang@gmail.com>)
Ответы Re: BUG #18866: Running pg_freespace() on views triggers an Abort
Список pgsql-bugs
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.

            regards, tom lane



В списке pgsql-bugs по дате отправления: