Re: Parallel workers stats in pg_stat_database

Benoit Lobréau <benoit.lobreau@dalibo.com>

From: Benoit Lobréau <benoit.lobreau@dalibo.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Guillaume Lelarge <guillaume@lelarge.info>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-11-08T14:13:35Z
Lists: pgsql-hackers
On 11/8/24 05:08, Michael Paquier wrote:
> On Thu, Nov 07, 2024 at 02:36:58PM +0900, Michael Paquier wrote:
>> Incorrect comment format, about which pgindent does not complain..
>>
>> ..  But pgindent complains in execMain.c and pgstat_database.c.  These
>> are only nits, the patch is fine.  If anybody has objections or
>> comments, feel free.
> 
> Found a few more things, but overall it was fine.  Here is what I have
> staged on my local branch.
> --
> Michael

Hi,

I just reread the patch.
Thanks for the changes. It looks great.

-- 
Benoit Lobréau
Consultant
http://dalibo.com



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add two attributes to pg_stat_database for parallel workers activity

  2. Introduce two fields in EState to track parallel worker activity