1. 27 Sep, 2007 7 commits
  2. 26 Sep, 2007 13 commits
  3. 25 Sep, 2007 4 commits
    • Tom Lane's avatar
      Change on-disk representation of NUMERIC datatype so that the sign_dscale · f828f878
      Tom Lane authored
      word comes before the weight instead of after.  This will allow future
      binary-compatible extension of the representation to support compact formats,
      as discussed on pgsql-hackers around 2007/06/18.  The reason to do it now is
      that we've already pretty well broken any chance of simple in-place upgrade
      from 8.2 to 8.3, but it's possible that 8.3 to 8.4 (or whenever we get around
      to squeezing NUMERIC) could otherwise be data-compatible.
      f828f878
    • Tom Lane's avatar
      Dept. of second thoughts: fix loop in BgBufferSync so that the exit when · 7a315a09
      Tom Lane authored
      bgwriter_lru_maxpages is exceeded leaves the loop variables in the
      expected state.  In the original coding, we'd fail to advance
      next_to_clean, causing that buffer to be probably-uselessly rechecked next
      time, and also have an off-by-one idea of the number of buffers scanned.
      7a315a09
    • Tom Lane's avatar
      Just-in-time background writing strategy. This code avoids re-scanning · 6f5c38dc
      Tom Lane authored
      buffers that cannot possibly need to be cleaned, and estimates how many
      buffers it should try to clean based on moving averages of recent allocation
      requests and density of reusable buffers.  The patch also adds a couple
      more columns to pg_stat_bgwriter to help measure the effectiveness of the
      bgwriter.
      
      Greg Smith, building on his own work and ideas from several other people,
      in particular a much older patch from Itagaki Takahiro.
      6f5c38dc
    • Peter Eisentraut's avatar
      Small string tweaks · 588901df
      Peter Eisentraut authored
      588901df
  4. 24 Sep, 2007 8 commits
  5. 23 Sep, 2007 8 commits