injection_points: Add support and tests for runtime arguments
Michael Paquier <michael@paquier.xyz>
injection_points: Add support and tests for runtime arguments This commit provides some test coverage for the runtime arguments of injection points, for both INJECTION_POINT_CACHED() and INJECTION_POINT(), as extended in 371f2db8b05e. The SQL functions injection_points_cached() and injection_points_run() are extended so as it is possible to pass an optional string value to them. Reviewed-by: Greg Burd <greg@burd.me> Discussion: https://postgr.es/m/Z_y9TtnXubvYAApS@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/injection_points/expected/injection_points.out | modified | +45 −0 |
| src/test/modules/injection_points/injection_points--1.0.sql | modified | +6 −4 |
| src/test/modules/injection_points/injection_points.c | modified | +32 −6 |
| src/test/modules/injection_points/sql/injection_points.sql | modified | +10 −0 |
Discussion
- Support for runtime parameters in injection points, for AIO tests 3 messages · 2025-04-14 → 2025-04-16