Re: Fwd: dsm_registry: Add detach and destroy features
От
Nathan Bossart
Тема
Re: Fwd: dsm_registry: Add detach and destroy features
Дата
Msg-id
aFL0Vbnh3f5S-Om9@nathan
Список
Дерево обсуждения
dsm_registry: Add detach and destroy features Sungwoo Chang <swchangdev@gmail.com>
Re: dsm_registry: Add detach and destroy features Nathan Bossart <nathandbossart@gmail.com>
Re: dsm_registry: Add detach and destroy features Sungwoo Chang <swchangdev@gmail.com>
Re: dsm_registry: Add detach and destroy features Sungwoo Chang <swchangdev@gmail.com>
Re: dsm_registry: Add detach and destroy features Sungwoo Chang <swchangdev@gmail.com>
Re: dsm_registry: Add detach and destroy features Nathan Bossart <nathandbossart@gmail.com>
On Wed, Jun 18, 2025 at 09:03:59AM +0900, Sungwoo Chang wrote: > I created a new patch that throws an exception if we try to call > destroy on a dsm segment that is still in use. > I added a function in dsm.h that returns a refcnt of a given dsm > segment. The destroy function uses that refcnt > getter to check if the dsm segment is in use. Thanks for the patch. I'm still interested to hear whether the proposed GetNamedDSA() feature could work for your use-case, as I described upthread [0]. [0] https://postgr.es/m/aFAszMKD69AyA4c1%40nathan -- nathan
В списке pgsql-hackers по дате отправления
От: Ranier Vilela
Дата: