On Sun, Sep 29, 2019 at 10:38 PM Andrey Borodin <x4...@yandex-team.ru> wrote: > As far as I understand deleted page is stamped with > GinPageSetDeleteXid(page, ReadNewTransactionId()); > It will not be recycled until that Xid is far behind.
That only gets used within posting tree pages, though. ginInsertCleanup() is concerned with pending list pages. > BTW we found a small bug (wraparound) in similar GiST and B-tree > implementations. > Probably, it's there in GIN too. Probably, but that's much less of a problem to me. -- Peter Geoghegan