Hi, On 2021-05-11 10:57:03 +1200, Thomas Munro wrote: > On Tue, May 11, 2021 at 8:52 AM Andres Freund <and...@anarazel.de> wrote: > > ... If we did make the check support shared memory *and* > > partitioned tables, I could easily see it be a win for things like > > LockReleaseAll().
Errr, that's not even a shared hashtable... So it would help even if we just excluded shared memory hashtables. > For that case, has the idea of maintaining a dlist of local locks been > considered? Yea, there's been a long discussion on that for LockReleaseAll(). Combined with alternatives around shrinking the hashtable... Greetings, Andres Freund