Re: Add pg_get_injection_points() for information of injection points
Kirill Reshke <reshkekirill@gmail.com>
From: Kirill Reshke <reshkekirill@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-04-14T12:39:02Z
Lists: pgsql-hackers
On Mon, 14 Apr 2025 at 17:32, Michael Paquier <michael@paquier.xyz> wrote: > > As this is global for all libraries, that's not something I would add > there. Same applies for pg_stat_statements, but it is defined in extension. Also, injection points are tests-only, so maybe no need to have this function callable in production systems? One more concern is about pre-defined oids: they are limited. Maybe we should not consume predefined oid in case when this is avoidable. -- Best regards, Kirill Reshke
Commits
-
injection_points: Add injection_points_list()
- 4eca711bc991 19 (unreleased) landed
-
Add InjectionPointList() to retrieve list of injection points
- 7b2eb72b1b8c 19 (unreleased) landed