Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables
Date
Msg-id ZG8SLtCX0erW5Di7@paquier.xyz
Whole thread Raw
In response to Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables
List pgsql-bugs
On Thu, May 25, 2023 at 01:07:59PM +0900, Kyotaro Horiguchi wrote:
> ANALYZE processes inhertance parents. By a quick search, I found
> that commit 3c3bb99330 modified get_rel_oids (which has now been
> relocated to get_all_vacuum_rels) to include
> RELKIND_PARTITIONED_TABLE. However, it seems like it overlooked
> updating the same in vacuumdb.c. This dates back to 10.

You cannot do that, because this would make a single run of vacuumdb
process more than once each partition.  Am I missing something?
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Hans Buschmann
Date:
Subject: AW: BUG #17943: Undefined symbol LLVMBuildGEP in llvmjit.so during pg_restore
Next
From: PG Bug reporting form
Date:
Subject: BUG #17944: Partial index on boolean field is not picked when using = while the index is created with is