On Wed, Mar 13, 2019 at 9:47 AM Tomas Vondra
<tomas.von...@2ndquadrant.com> wrote:
> AFAICS we already maintain a hash table of the smgr relations, and we
> look them up in this table. We don't need to look them up in the list of
> unowned relations - the whole problem is that with the current
> single-linked list, we need to iterate the list anyway to update pointer
> in the preceding entry.

OK, I'm dumb.  Sorry for the noise.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Reply via email to