Re: Flush some statistics within running transactions

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Subject: Re: Flush some statistics within running transactions
Date: 2026-02-17 07:04:40
Message-ID: aZQTCJJm61J/X4nC@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On Mon, Feb 16, 2026 at 04:42:50PM -0600, Sami Imseih wrote:
> I do agree with what you did here by passing "is_partial" to the callbacks.
> Now it will be up to the callbacks to determine if they performed a partial
> or a complete flush ( even in the case of any anytime flush, if they so
> happened to flush stats for all the fields ).

Right.

> I do not have any further comments on this patchset.

Thanks for the review!

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nazir Bilal Yavuz 2026-02-17 07:21:06 Re: Improve docs syntax checking and enable it in the meson build
Previous Message Nisha Moond 2026-02-17 07:00:27 Re: pgstat include expansion