Re: [PATCH] Add memory usage reporting to VACUUM VERBOSE

From: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
To: Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Add memory usage reporting to VACUUM VERBOSE
Date: 2025-12-24 09:06:50
Message-ID: 0EEE1FE6-CF56-4B60-BF1F-F79EBD8C621B@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Dec 23, 2025, at 21:20, Tatsuya Kawata <kawatatatsuya0913(at)gmail(dot)com> wrote:
>
> Hi Sawada-san and Chao-san,
>
> Thank you both for your continued reviews and feedback on this patch.
>
> > The patch mostly looks good to me. I've made some cosmetic changes to
> > the comments (as well as the commit message) and attached the updated
> > patch. Please review it.
> Thank you. I have no objections.
>
>
> > My last nitpick on v9:
> >
> > ```
> > + appendStringInfo(&buf,
> > + ngettext("memory usage: %.2f MB in total, with dead-item storage reset %d time (limit was %.2f MB)\n",
> > + "memory usage: %.2f MB in total, with dead-item storage reset %d times (limit was %.2f MB)\n",
> > ```
> >
> > Instead of “dead-item”, I would suggest “dead item” (without dash), because in the existing code use “dead item”, for example:
> >
> > ```
> I've addressed your feedback.
>
> Attached is v10 with these changes incorporated.
> I really appreciate reviewing this patch throughout the iterations.
>
> Regards,
> Tatsuya Kawata
> <v10-0001-Add-dead-items-memory-usage-to-VACUUM-VERBOSE-an.patch>

V10 looks good to me.

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 Amit Kapila 2025-12-24 09:12:15 Re: [Patch] add new parameter to pg_replication_origin_session_setup
Previous Message Chao Li 2025-12-24 09:01:57 Re: Switch buffile.c/h to use pgoff_t