Re: Fix regression in vacuumdb --analyze-in-stages for partitioned tables

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Antonin Houska <ah(at)cybertec(dot)at>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Subject: Re: Fix regression in vacuumdb --analyze-in-stages for partitioned tables
Date: 2026-06-02 05:57:09
Message-ID: 308E6B55-391A-4BA6-92DC-25AB53D4D4A8@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On May 30, 2026, at 00:08, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>
> On Fri, May 29, 2026 at 5:41 PM Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com> wrote:
>> The fix is very straightforward, just add check for vacopts->mode == MODE_ANALYZE_IN_STAGES. I also added a test. If we had had this test earlier, the regression should have been caught.
>
> Thanks for reporting the issue and providing the patch! The patch
> looks good to me.
>
> Regards,
>
> --
> Fujii Masao

For tracking purpose, I just added this to v19 open items.

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2026-06-02 06:00:29 Re: Fix race in ReplicationSlotRelease for ephemeral slots
Previous Message jian he 2026-06-02 05:46:22 Re: Row pattern recognition