pgsql/src/backend/executor nodeIndexscan.c

Поиск
Список
Период
Сортировка
От momjian@postgresql.org (Bruce Momjian - CVS)
Тема pgsql/src/backend/executor nodeIndexscan.c
Дата
Msg-id 20020623212932.AC295475DE7@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/06/23 17:29:32

Modified files:
    src/backend/executor: nodeIndexscan.c

Log message:
    It seems that ExecInit/EndIndexScan is leaking some memory...

    For example, if I run a query, that uses an index scan, and call
    MemoryContextSt ats (CurrentMemoryContext) before ExecutorStart() and
    after ExecutorEnd() in ProcessQuery(), I am consistently see ing that
    the 'after' call shows 256 bytes more used, then 'before'...

    The problem seems to be in ExecEndIndexScan - it does not release
    scanstate, ind exstate, indexstate->iss_RelationDescs and indexstate ->
    iss_ScanDescs...

    Dmitry Tkach




В списке pgsql-committers по дате отправления:

Предыдущее
От: barry@postgresql.org (Barry Lind)
Дата:
Сообщение: pgsql/src/interfaces/jdbc/org/postgresql error ...
Следующее
От: momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
Сообщение: pgsql/contrib Makefile README