• Tom Lane's avatar
    Make ginbuild's funcCtx be independent of its tmpCtx. · 1601830e
    Tom Lane authored
    Previously the funcCtx was a child of the tmpCtx, but that was broken
    by commit eaa5808e, which made
    MemoryContextReset() delete, not reset, child contexts.  The behavior of
    having a tmpCtx reset also clear the other context seems rather dubious
    anyway, so let's just disentangle them.  Per report from Erik Rijkers.
    
    In passing, fix badly-inaccurate comments about these contexts.
    1601830e
gininsert.c 14.5 KB