> On 2 May 2024, at 13:43, Michael Paquier <michael@paquier.xyz> wrote:
>
> A detach is not a wakeup.
Oh, now I see. Sorry for the noise.
Detaching local injection point of other backend seems to be useless and can be forbidden.
As far as I understand, your patch is already doing this in
+ if (!injection_point_allowed(name))
+ elog(ERROR, "cannot detach injection point \"%s\" not allowed to run",
+ name);
+
As far as I understand this will effectively forbid calling injection_points_detach() for local injection point of
otherbackend. Do I get it right?
Best regards, Andrey Borodin.