Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.
Дата
Msg-id CA+TgmoYWbjZ9k1kuia2CXfJ3+b6G+=AayzU-hsXdtvGLgstFcw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.
Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.
Список pgsql-hackers
On Wed, Apr 30, 2025 at 5:24 PM Daniel Gustafsson <daniel@yesql.se> wrote:
> Attached is a current v4 with a few small tweaks.

Sorry to turn up late here, but I strongly disagree with the notion
that this is a bug in the DSM or DSA code. It seems to me that it is
the caller's responsibility to provide a valid resource owner, not the
job of the called code to ignore the resource owner when it's
unusable. I suspect that there are many other parts of the system that
rely on the ResourceOwner machinery which likewise assume that the
ResourceOwner that they are passed is valid.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления: