> On Jul 24, 2020, at 14:09, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > Rather than adding another pg_class column, I'm tempted to say that > vacuum/analyze should set relpages to a minimum of 1, even if the > relation has zero pages. If there's not an issue about relpages != actual pages on disk, that certain seems straight-forward, and no *more* hacky than the current situation. -- -- Christophe Pettus xof@xxxxxxxxxxxx