On Thu, May 15, 2025 at 6:50 PM Dilip Kumar <dilipbal...@gmail.com> wrote:
> On Thu, May 15, 2025 at 3:14 PM Fujii Masao <masao.fu...@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


Reply via email to