At Wed, 02 Feb 2022 16:49:57 +0900 (JST), Kyotaro Horiguchi <horikyota....@gmail.com> wrote in > So aren't we able to use ShareUpdateExclusive lock for that? > > In the attached patch, ginInsertCleanup has an extra check for such > stronger locks not being held. At least "make check" doesn't cause > the extra assertion to fire.
Actually, the discussion is a bit dubious. What we need really to check is wheter such locks are not held on an index *elsewhere*. regards. -- Kyotaro Horiguchi NTT Open Source Software Center