1. 26 9月, 2011 1 次提交
  2. 24 9月, 2011 3 次提交
  3. 23 9月, 2011 3 次提交
  4. 17 9月, 2011 1 次提交
  5. 16 9月, 2011 1 次提交
    • T
      Redesign the plancache mechanism for more flexibility and efficiency. · e6faf910
      Tom Lane 提交于
      Rewrite plancache.c so that a "cached plan" (which is rather a misnomer
      at this point) can support generation of custom, parameter-value-dependent
      plans, and can make an intelligent choice between using custom plans and
      the traditional generic-plan approach.  The specific choice algorithm
      implemented here can probably be improved in future, but this commit is
      all about getting the mechanism in place, not the policy.
      
      In addition, restructure the API to greatly reduce the amount of extraneous
      data copying needed.  The main compromise needed to make that possible was
      to split the initial creation of a CachedPlanSource into two steps.  It's
      worth noting in particular that SPI_saveplan is now deprecated in favor of
      SPI_keepplan, which accomplishes the same end result with zero data
      copying, and no need to then spend even more cycles throwing away the
      original SPIPlan.  The risk of long-term memory leaks while manipulating
      SPIPlans has also been greatly reduced.  Most of this improvement is based
      on use of the recently-added MemoryContextSetParent primitive.
      e6faf910
  6. 14 9月, 2011 1 次提交
  7. 11 9月, 2011 1 次提交
  8. 10 9月, 2011 4 次提交
  9. 08 9月, 2011 4 次提交
  10. 07 9月, 2011 9 次提交
  11. 06 9月, 2011 4 次提交
  12. 01 9月, 2011 1 次提交
  13. 31 8月, 2011 4 次提交
  14. 28 8月, 2011 1 次提交
  15. 27 8月, 2011 2 次提交