pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: henri.chapelle@dbandmore.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables
Date: Thu, 25 May 2023 16:45:50 +0900
Message-ID: <ZG8SLtCX0erW5Di7@paquier.xyz> (raw)
In-Reply-To: <20230525.130759.1771148055252912581.horikyota.ntt@gmail.com>
References: <17942-50aa28accc2e412c@postgresql.org>
	<20230525.130759.1771148055252912581.horikyota.ntt@gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (8+ messages)  latest in thread

Message-ID: <ZG8SLtCX0erW5Di7@paquier.xyz>
Permalink:  ../ZG8SLtCX0erW5Di7@paquier.xyz/
Also on:    postgresql.org/message-id/ZG8SLtCX0erW5Di7@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, horikyota.ntt@gmail.com, henri.chapelle@dbandmore.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17942: vacuumdb doesn't populate extended statistics on partitioned tables
  In-Reply-To: <ZG8SLtCX0erW5Di7@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox