Re: Add pg_get_injection_points() for information of injection points

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Rustam ALLAKOV <rustamallakov@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-05-27T07:14:47Z
Lists: pgsql-hackers

Attachments

On Sun, May 25, 2025 at 03:59:51AM +0000, Rustam ALLAKOV wrote:
> 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

Makes sense, with the difference that the function throws an error if
Postgres is configured without --enable-injection-points.
--
Michael

Commits

  1. injection_points: Add injection_points_list()

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