Re: Parallel workers stats in pg_stat_database

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Benoit Lobréau <benoit.lobreau@dalibo.com>
Cc: Guillaume Lelarge <guillaume@lelarge.info>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-11-08T04:08:48Z
Lists: pgsql-hackers

Attachments

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

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