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

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

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

От
Tom Lane
Дата:
  Date: Saturday, May 20, 2000 @ 22:28:55
Author: tgl

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

Modified Files:
    relcache.c

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

Repair memory leaks that caused CacheCxt to grow without bound.  We
really ought to fix relcache entry construction so that it does not
do so much with CurrentMemoryContext = CacheCxt.  As is, relatively
harmless leaks in either sequential or index scanning translate to
permanent leaks if they occur when called from relcache build.
For the moment, however, the path of least resistance is to repair
all such leaks...