Re: Injection Points remaining stats

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Yogesh Sharma <yogesh.sharma@catprosystems.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-08-23T00:18:09Z
Lists: pgsql-hackers
On Thu, Aug 22, 2024 at 01:16:37PM -0400, Yogesh Sharma wrote:
> On 8/18/24 20:09, Michael Paquier wrote:
>> I'm tempted to propose a separate improvement for the template of the
>> fixed-numbered stats.  We could do like pgstatfuncs.c where we use a
>> macro to define the routines of the counters, and have one function
>> for each counter incremented.  That's a separate refactoring, so I'll
>> propose that on a different thread.
>
> I will take a look on this.

Thanks.  If you are interested, here is the CF entry I have created
for it:
https://commitfest.postgresql.org/49/5187/
--
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. injection_points: Add stats for point caching and loading

  2. injection_points: Add some fixed-numbered statistics