Re: Add pg_stat_kind_info system view

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Tristan Partin <tristan@partin.io>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-06-30T08:02:12Z
Lists: pgsql-hackers
On Tue, Jun 30, 2026 at 07:59:04AM +0000, Bertrand Drouvot wrote:
> I do agree. That said, creating a new file only for one function looks a bit
> weird (but I can not think of a better option though).

FWIW, I've done that in the past, when it was necessary.
--
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 system view pg_stat_kind_info

  2. Introduce pluggable APIs for Cumulative Statistics