Add test module injection_points
Michael Paquier <michael@paquier.xyz>
Add test module injection_points This provides basic coverage for injection points within a single process, while providing some callbacks that can be used for other tests. There are plans to extend this module later with more advanced capabilities for tests. Author: Michael Paquier, with comment fixes from Ashutosh Bapat. Reviewed-by: Ashutosh Bapat, Nathan Bossart, Álvaro Herrera, Dilip Kumar, Amul Sul, Nazir Bilal Yavuz Discussion: https://postgr.es/m/ZTiV8tn_MIb_H2rE@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/injection_points/expected/injection_points.out | added | +118 −0 |
| src/test/modules/injection_points/.gitignore | added | +4 −0 |
| src/test/modules/injection_points/injection_points--1.0.sql | added | +35 −0 |
| src/test/modules/injection_points/injection_points.c | added | +95 −0 |
| src/test/modules/injection_points/injection_points.control | added | +4 −0 |
| src/test/modules/injection_points/Makefile | added | +20 −0 |
| src/test/modules/injection_points/meson.build | added | +37 −0 |
| src/test/modules/injection_points/sql/injection_points.sql | added | +34 −0 |
| src/test/modules/Makefile | modified | +7 −0 |
| src/test/modules/meson.build | modified | +1 −0 |
Discussion
- Adding facility for injection points (or probe points?) for more advanced tests 59 messages · 2023-10-25 → 2025-04-14