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