Re: Assertion failure in smgr.c when using pg_prewarm with partitioned tables

Поиск
Список
Период
Сортировка
От Richard Guo
Тема Re: Assertion failure in smgr.c when using pg_prewarm with partitioned tables
Дата
Msg-id CAMbWs49T8hFr571c+b0T4GiDwKow5B1HUMMxav7qhUt75WHpKA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Assertion failure in smgr.c when using pg_prewarm with partitioned tables  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
On Thu, May 15, 2025 at 6:50 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
> On Thu, May 15, 2025 at 3:14 PM Fujii Masao <masao.fujii@oss.nttdata.com> wrote:
> > How about adding a check to see whether the target relation has storage,
> > using something like RELKIND_HAS_STORAGE()?

> Yeah, that makes more sense.

+1.  FWIW, not long ago we fixed a similar Assert failure in
contrib/pg_freespacemap by verifying RELKIND_HAS_STORAGE() before
trying to access the storage (see 4623d7144).  Wondering if there are
other similar issues elsewhere in contrib ...

Thanks
Richard



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