injection_points: Add support and tests for runtime arguments

Michael Paquier <michael@paquier.xyz>

Commit: 36e5fda6326045f4523568d4c9d682ee5d2f0867
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-05-09T22:40:25Z
Releases: 18.0
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

Discussion