• Bruce Momjian's avatar
    It seems that ExecInit/EndIndexScan is leaking some memory... · 5a151497
    Bruce Momjian authored
    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
    5a151497
nodeIndexscan.c 28.7 KB