Re: Weird test mixup - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: Weird test mixup
Date
Msg-id 5DF6B37D-EB0E-46A5-AEB3-D2EA9F1E580F@yandex-team.ru
Whole thread Raw
In response to Re: Weird test mixup  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Weird test mixup
List pgsql-hackers

> 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.


pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Weird test mixup
Next
From: Yugo NAGATA
Date:
Subject: Re: Extend ALTER DEFAULT PRIVILEGES for large objects