Re: Don't treat virtual generated columns as missing statistics in vacuumdb --missing-stats-only

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Don't treat virtual generated columns as missing statistics in vacuumdb --missing-stats-only
Date: 2025-08-20 19:19:43
Message-ID: aKYfz0_faYu_-U6Z@nathan
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 20, 2025 at 01:53:38PM +0900, Yugo Nagata wrote:
> The patch conflicted with the latest commit, so I rebased it.

Nice find. I would suggest adding the virtual generated column to
regression_vacuumdb_test when it is first created so that we can just rely
on the existing test cases. In fact, by doing so, you'll see that we need
a similar change to the "inheritance and regular stats" part of the query.

--
nathan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Jones 2025-08-20 19:42:27 Re: Add GUC to enable libxml2's XML_PARSE_HUGE
Previous Message Robert Haas 2025-08-20 19:13:51 Re: RFC: extensible planner state