1. 29 10月, 2005 4 次提交
    • P
      Message corrections · 07bb9f08
      Peter Eisentraut 提交于
      07bb9f08
    • T
      Reorder code so that we don't have to hold a critical section while · a0379262
      Tom Lane 提交于
      reserving SLRU space for a new MultiXact.  The original coding would have
      treated out-of-disk-space as a PANIC condition, which is unnecessary.
      a0379262
    • T
      Clean up AIX build to avoid 'duplicate symbol' warnings, by moving use · a7de22d8
      Tom Lane 提交于
      of postgres.imp file into BE_DLLLIBS macro.  This makes the AIX build
      work more like the Windows and Darwin builds, which have similar requirements
      to mention a backend library when linking shared libraries that will be
      dynamically loaded into the backend.
      a7de22d8
    • T
      Fix race condition in multixact code: it's possible to try to read a · 1986ca5c
      Tom Lane 提交于
      multixact's starting offset before the offset has been stored into the
      SLRU file.  A simple fix would be to hold the MultiXactGenLock until the
      offset has been stored, but that looks like a big concurrency hit.  Instead
      rely on knowledge that unset offsets will be zero, and loop when we see
      a zero.  This requires a little extra hacking to ensure that zero is never
      a valid value for the offset.  Problem reported by Matteo Beccati, fix
      ideas from Martijn van Oosterhout, Alvaro Herrera, and Tom Lane.
      1986ca5c
  2. 28 10月, 2005 2 次提交
  3. 27 10月, 2005 3 次提交
  4. 26 10月, 2005 2 次提交
    • T
      Fix longstanding bug that would sometimes let the planner generate a bad plan · ddb4015e
      Tom Lane 提交于
      for an outer join; symptom is bogus error "RIGHT JOIN is only supported with
      merge-joinable join conditions".  Problem was that select_mergejoin_clauses
      did its tests in the wrong order.  We need to force left join not right join
      for a merge join when there are non-mergeable join clauses; but the test for
      this only accounted for mergejoinability of the clause operator, and not
      whether the left and right Vars were of the proper relations.  Per report
      from Jean-Pierre Pelletier.
      ddb4015e
    • T
      Remove justify_hours call from interval_mul and interval_div, and make · 6a9b93a0
      Tom Lane 提交于
      some small stylistic improvements in these functions.  Also fix several
      places where TMODULO() was being used with wrong-sized quotient argument,
      creating a risk of overflow --- interval2tm was actually capable of going
      into an infinite loop because of this.
      6a9b93a0
  5. 25 10月, 2005 2 次提交
  6. 24 10月, 2005 2 次提交
  7. 23 10月, 2005 2 次提交
  8. 22 10月, 2005 3 次提交
    • A
      · 188c5249
      Andrew Dunstan 提交于
      minor code cleanup - replace useless struct timezone argument to
      gettimeofday with NULL in a few places, making it consistent with
      usage elsewhere.
      188c5249
    • T
      Improve performance of CHECK_FOR_INTERRUPTS() macro on Windows by not doing · 6aad07d2
      Tom Lane 提交于
      a kernel call unless there's some evidence of a pending signal.  This should
      bring its performance on Windows into line with the Unix version.  Problem
      diagnosis and patch by Qingqing Zhou.  Minor stylistic tweaks by moi ...
      if it's broken, it's my fault.
      6aad07d2
    • T
      Fix EXPLAIN ANALYZE bug noted by Wiebe Cazemier: although we were · 9fc24f2b
      Tom Lane 提交于
      properly advancing the CommandCounter between multiple sub-queries
      generated by rules, we forgot to update the snapshot being used, so
      that the successive sub-queries didn't actually see each others'
      results.  This is still not *exactly* like the semantics of normal
      execution of the same queries, in that we don't take new transaction
      snapshots and hence don't see changes from concurrently committed
      commands, but I think that's OK and probably even preferable for
      EXPLAIN ANALYZE.
      9fc24f2b
  9. 21 10月, 2005 4 次提交
  10. 20 10月, 2005 6 次提交
  11. 19 10月, 2005 3 次提交
  12. 18 10月, 2005 2 次提交
  13. 17 10月, 2005 1 次提交
  14. 16 10月, 2005 2 次提交
  15. 15 10月, 2005 2 次提交