Re: Add pg_get_injection_points() for information of injection points
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-04-15T05:44:38Z
Lists: pgsql-hackers
Attachments
- v3-0001-Add-InjectionPointList-to-retrieve-list-of-inject.patch (text/plain) patch v3-0001
- v3-0002-Add-pg_get_injection_points.patch (text/plain) patch v3-0002
On Tue, Apr 15, 2025 at 02:49:24AM +0000, Hayato Kuroda (Fujitsu) wrote: > Should cur_pos be uint32 instead of int? Either of them can work because > cur_pos can be [0, 128], but it may be clearer. > > Apart from above, LGTM. Sure, why not. Thanks for the review. An important thing may be to split the change into two: - First one for the API in injection_point.c. - Second one for the new function. The second patch is still something folks seem to be meh about, but if the end consensus is to put the new SQL function in the module injection_points we are going to need the first patch anyway. -- Michael
Commits
-
injection_points: Add injection_points_list()
- 4eca711bc991 19 (unreleased) landed
-
Add InjectionPointList() to retrieve list of injection points
- 7b2eb72b1b8c 19 (unreleased) landed