Re: Add pg_get_injection_points() for information of injection points

Rustam ALLAKOV <rustamallakov@gmail.com>

From: Rustam ALLAKOV <rustamallakov@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Michael Paquier <michael@paquier.xyz>
Date: 2025-05-25T03:59:51Z
Lists: pgsql-hackers
The following review has been posted through the commitfest application:
make installcheck-world:  not tested
Implements feature:       not tested
Spec compliant:           not tested
Documentation:            tested, failed

Hi Michael,
Thank you for the patch.

I suggest to add into documentation 
> if the server was built with  --enable-injection-points configuration;
> otherwise returns ...

to match how `unicode_version` function is documented
> Returns a string representing the version of Unicode used by ICU, if
> the server was built with ICU support; otherwise returns

Regards.
Rustam Allakov.

Commits

  1. injection_points: Add injection_points_list()

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