diff options
author | Michael Paquier <michael@paquier.xyz> | 2025-07-03 08:41:25 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2025-07-03 08:41:25 +0900 |
commit | 7b2eb72b1b8ce4279e42848a3978e781ae239355 (patch) | |
tree | dd2b6b9b36b2d64699319ee792df727e7a2d2cc6 /src/backend/access/gist/gistutil.c | |
parent | fe05430ace8e0b3c945cf581564458a5983a07b6 (diff) | |
download | postgresql-7b2eb72b1b8ce4279e42848a3978e781ae239355.tar.gz postgresql-7b2eb72b1b8ce4279e42848a3978e781ae239355.zip |
Add InjectionPointList() to retrieve list of injection points
This routine has come as a useful piece to be able to know the list of
injection points currently attached in a system. One area would be to
use it in a set-returning function, or just let out-of-core code play
with it.
This hides the internals of the shared memory array lookup holding the
information about the injection points (point name, library and function
name), allocating the result in a palloc'd List consumable by the
caller.
Reviewed-by: Jeff Davis <pgsql@j-davis.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Rahila Syed <rahilasyed90@gmail.com>
Discussion: https://postgr.es/m/Z_xYkA21KyLEHvWR@paquier.xyz
Discussion: https://postgr.es/m/aBG2rPwl3GE7m1-Q@paquier.xyz
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions