Обсуждение: pgsql/src/backend/utils/cache (relcache.c)

Поиск
Список
Период
Сортировка

pgsql/src/backend/utils/cache (relcache.c)

От
Tom Lane
Дата:
  Date: Monday, June 19, 2000 @ 19:40:49
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/cache
     from hub.org:/home/projects/pgsql/tmp/cvs-serv69827/utils/cache

Modified Files:
    relcache.c

-----------------------------  Log Message  -----------------------------

Modify index-opening code to guarantee that the indexes of a relation
are opened in a consistent order by different backends (I ordered them
by index OID because that's easy, but any other consistent order would
do as well).  This avoids potential deadlock for index types that we
acquire exclusive locks on ... ie, rtree.