Hello,

At Wed, 1 Jul 2026 15:21:06 +0800, "cca5507" <[email protected]> wrote in 
> > 2. The silent skip in get_all_vacuum_rels produces a different user-visible
> > behavior than vacuum_open_relation's WARNING for
> > what's essentially the same race (concurrent drop during a database-wide
> > VACUUM).
> > I think the silent path is fine here, as the user didn't explicitly ask for
> > that table.
> 
> I personally think it's worth a WARNING because the relation is exist when
> we scan pg_class. I'm also OK if most people think the WARNING is useless.

I think that from the immediate caller's point of view, there is no
distinction between a relation disappearing before or after the
pg_class scan. Personally, I think vacuum_open_relation() could also
be silent in that case, although I don't see any particular need to
change its current behavior.

Regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


Reply via email to