Re: Add pg_get_injection_points() for information of injection points

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Rahila Syed <rahilasyed90@gmail.com>
Cc: Aleksander Alekseev <aleksander@timescale.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, Kirill Reshke <reshkekirill@gmail.com>
Date: 2025-07-10T01:18:24Z
Lists: pgsql-hackers
On Thu, Jul 03, 2025 at 12:14:55PM +0530, Rahila Syed wrote:
>  #include "miscadmin.h"
> +#include "nodes/execnodes.h"
>  #include "nodes/pg_list.h"
>  #include "nodes/value.h"
> 
> Do we need to include this? I did not see any compilation error when I
> removed this.

Right, this one was not needed.  Removed this bit and pushed the
addition of the function to the module injection_points.
--
Michael

Commits

  1. injection_points: Add injection_points_list()

  2. Add InjectionPointList() to retrieve list of injection points