From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: injection_points: Add injection_points_list()
Date: Thu, 10 Jul 2025 01:13:16 +0000
Message-ID: <E1uZfqe-005Vn8-08@gemulon.postgresql.org> (raw)
injection_points: Add injection_points_list()
This function can be used to retrieve the information about all the
injection points attached to a cluster, providing coverage for
InjectionPointList() introduced in 7b2eb72b1b8c.
The original proposal turned around a system function, but that would
not be backpatchable to stable branches. It was also a bit weird to
have a system function that fails depending on if the build allows
injection points or not.
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Reviewed-by: Rahila Syed <rahilasyed90@gmail.com>
Discussion: https://postgr.es/m/Z_xYkA21KyLEHvWR@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4eca711bc991954613261b7a314b1e8f5963815c
Modified Files
--------------
.../injection_points/expected/injection_points.out | 16 +++++++++
.../injection_points/injection_points--1.0.sql | 12 +++++++
.../modules/injection_points/injection_points.c | 39 ++++++++++++++++++++++
.../injection_points/sql/injection_points.sql | 7 ++++
4 files changed, 74 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: injection_points: Add injection_points_list()
In-Reply-To: <E1uZfqe-005Vn8-08@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox