diff options
| author | Michael Paquier <michael@paquier.xyz> | 2025-11-10 09:52:14 +0900 |
|---|---|---|
| committer | Michael Paquier <michael@paquier.xyz> | 2025-11-10 09:52:14 +0900 |
| commit | 16a2f706951edc1b284a66902c9e582217d37d31 (patch) | |
| tree | ba8ff13178a634c4fa58852532d2290f8e657ae0 /src/backend/executor/execCurrent.c | |
| parent | 9d7e851a2118286f123fd8cfc699e3db9318fba8 (diff) | |
injection_points: Add variant for injection_point_attach()
This new function is able to take in input more data than the existing
injection_point_attach():
- A library name.
- A function name.
- Some private data.
This gives more flexibility for tests so as these would not need to
reinvent a wrapper for InjectionPointAttach() when attaching a callback
from a library other than "injection_points". injection_point_detach()
can be used with both versions of injection_point_attach().
Author: Rahila Syed <rahilasyed.90@gmail.com>
Reviewed-by: Mihail Nikalayeu <mihailnikalayeu@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CAH2L28sOG2b_TKkZU51dy+pWJtny1mqDmeFiFoUASGa0X0iiKQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execCurrent.c')
0 files changed, 0 insertions, 0 deletions
