• Tom Lane's avatar
    Tweak default memory context allocation policy so that a context is not · e64c7feb
    Tom Lane authored
    given any malloc block until something is first allocated in it; but
    thereafter, MemoryContextReset won't release that first malloc block.
    This preserves the quick-reset property of the original policy, without
    forcing 8K to be allocated to every context whether any of it is ever
    used or not.  Also, remove some more no-longer-needed explicit freeing
    during ExecEndPlan.
    e64c7feb
execJunk.c 8.32 KB