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: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-04-28T21:08:49Z
Lists: pgsql-hackers
On Mon, Apr 28, 2025 at 10:10:09PM +0530, Rahila Syed wrote:
> Should the execution privileges on the function be restricted to a role
> like pg_monitor?

I am not sure that it would be a good thing here, forcing tests to
implement an extra step when requiring a restrictive role if this role
needs to look up at the SQL function's data.
--
Michael

Commits

  1. injection_points: Add injection_points_list()

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