pgsql/src/backend/executor nodeIndexscan.c - Mailing list pgsql-committers

From momjian@postgresql.org (Bruce Momjian - CVS)
Subject pgsql/src/backend/executor nodeIndexscan.c
Date
Msg-id 20020623212932.AC295475DE7@postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: barry@postgresql.org (Barry Lind)
Date:
Subject: pgsql/src/interfaces/jdbc/org/postgresql error ...
Next
From: momjian@postgresql.org (Bruce Momjian - CVS)
Date:
Subject: pgsql/contrib Makefile README