Re: Weird test mixup

Поиск
Список
Период
Сортировка
От Andrey M. Borodin
Тема Re: Weird test mixup
Дата
Msg-id 5DF6B37D-EB0E-46A5-AEB3-D2EA9F1E580F@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Weird test mixup  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Weird test mixup  (Michael Paquier <michael@paquier.xyz>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Weird test mixup
Следующее
От: Yugo NAGATA
Дата:
Сообщение: Re: Extend ALTER DEFAULT PRIVILEGES for large objects