1. 04 6月, 2005 8 次提交
    • T
      Revise handling of dropped columns in JOIN alias lists to avoid a · ba420024
      Tom Lane 提交于
      performance problem pointed out by phil@vodafone: to wit, we were
      spending O(N^2) time to check dropped-ness in an N-deep join tree,
      even in the case where the tree was freshly constructed and couldn't
      possibly mention any dropped columns.  Instead of recursing in
      get_rte_attribute_is_dropped(), change the data structure definition:
      the joinaliasvars list of a JOIN RTE must have a NULL Const instead
      of a Var at any position that references a now-dropped column.  This
      costs nothing during normal parse-rewrite-plan path, and instead we
      have a linear-time update to make when loading a stored rule that
      might contain now-dropped columns.  While at it, move the responsibility
      for acquring locks on relations referenced by rules into this separate
      function (which I therefore chose to call AcquireRewriteLocks).
      This saves effort --- namely, duplicated lock grabs in parser and rewriter
      --- in the normal path at a cost of one extra non-locked heap_open()
      in the stored-rule path; seems a good tradeoff.  A fringe benefit is
      that it is now *much* clearer that we acquire lock on relations referenced
      in rules before we make any rewriter decisions based on their properties.
      (I don't know of any bug of that ilk, but it wasn't exactly clear before.)
      ba420024
    • B
      Put back WAL TODO.detail entries. · 7e209f6c
      Bruce Momjian 提交于
      7e209f6c
    • B
      Remove because it is partly done and we might not want to go farther: · bace84cc
      Bruce Momjian 提交于
      < * -Compress WAL entries [wal]
      bace84cc
    • T
      Just noticed that you can't Query-Cancel a long planner run, because · 35313832
      Tom Lane 提交于
      no part of the planner did CHECK_FOR_INTERRUPTS().  Add one in a
      suitably strategic spot.
      35313832
    • B
      Update Russian FAQ. · 1bdec342
      Bruce Momjian 提交于
      Viktor Vislobokov
      1bdec342
    • B
      Trim TODO.detail for wal completed items. · 97e455c9
      Bruce Momjian 提交于
      97e455c9
    • B
      Done: · 2a61c090
      Bruce Momjian 提交于
      > * -Compress WAL entries [wal]
      2a61c090
    • B
      Done: · a14fb14f
      Bruce Momjian 提交于
      > * -Change WAL to use 32-bit CRC, for performance reasons
      a14fb14f
  2. 03 6月, 2005 2 次提交
  3. 02 6月, 2005 8 次提交
  4. 01 6月, 2005 2 次提交
  5. 31 5月, 2005 13 次提交
  6. 30 5月, 2005 7 次提交