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-04T06:29:07Z
Lists: pgsql-hackers
On Thu, Jul 03, 2025 at 12:14:55PM +0530, Rahila Syed wrote: >> Now for the second part with the SRF making the injection point >> information available at SQL level. The point about adding the new >> function in the core engine has been sticky, and I'm coming down to >> the conclusion that I'd still want to make this stuff backpatchable if >> need be in the future. So let's just add a new function in the test >> module injection_points and call it a day. > > Do you plan to document this function anywhere where it would be more > visible to those who might want to use it in their tests? It's a bit larger than just this function, as we have never exposed any of the test modules in the docs. Perhaps we could just add a line in the section for injection points for this case. At the end, I don't want these additions to be an extra documentation burden if one wants to add more tools, which may be in the scope of a bug fix as that would just cause extra work. -- Michael
Commits
-
injection_points: Add injection_points_list()
- 4eca711bc991 19 (unreleased) landed
-
Add InjectionPointList() to retrieve list of injection points
- 7b2eb72b1b8c 19 (unreleased) landed