1. 09 4月, 2008 3 次提交
  2. 08 4月, 2008 3 次提交
  3. 07 4月, 2008 5 次提交
  4. 05 4月, 2008 11 次提交
  5. 04 4月, 2008 8 次提交
  6. 03 4月, 2008 5 次提交
  7. 02 4月, 2008 2 次提交
  8. 01 4月, 2008 3 次提交
    • T
      Support EXECUTE USING in plpgsql. · e2a88043
      Tom Lane 提交于
      Pavel Stehule, with some improvements by myself.
      e2a88043
    • T
      Add SPI-level support for executing SQL commands with one-time-use plans, · d5466e38
      Tom Lane 提交于
      that is commands that have out-of-line parameters but the plan is prepared
      assuming that the parameter values are constants.  This is needed for the
      plpgsql EXECUTE USING patch, but will probably have use elsewhere.
      
      This commit includes the SPI functions and documentation, but no callers
      nor regression tests.  The upcoming EXECUTE USING patch will provide
      regression-test coverage.  I thought committing this separately made
      sense since it's logically a distinct feature.
      d5466e38
    • T
      Fix an oversight I made in a cleanup patch over a year ago: · 6b73d7e5
      Tom Lane 提交于
      eval_const_expressions needs to be passed the PlannerInfo ("root") structure,
      because in some cases we want it to substitute values for Param nodes.
      (So "constant" is not so constant as all that ...)  This mistake partially
      disabled optimization of unnamed extended-Query statements in 8.3: in
      particular the LIKE-to-indexscan optimization would never be applied if the
      LIKE pattern was passed as a parameter, and constraint exclusion depending
      on a parameter value didn't work either.
      6b73d7e5