1. 04 Jun, 2007 7 commits
  2. 03 Jun, 2007 3 commits
  3. 02 Jun, 2007 5 commits
  4. 01 Jun, 2007 10 commits
  5. 31 May, 2007 5 commits
  6. 30 May, 2007 10 commits
    • Tom Lane's avatar
      Fix overly-strict sanity check in BeginInternalSubTransaction that made it · fa0e318f
      Tom Lane authored
      fail when used in a deferred trigger.  Bug goes back to 8.0; no doubt the
      reason it hadn't been noticed is that we've been discouraging use of
      user-defined constraint triggers.  Per report from Frank van Vugt.
      fa0e318f
    • Bruce Momjian's avatar
      Update: · 9b89c13a
      Bruce Momjian authored
      < * Consider allowing 64-bit integers to be passed by value on 64-bit
      <   platforms
      > * Consider allowing 64-bit integers and floats to be passed by value on
      >   64-bit platforms
      >
      >   Also change 32-bit floats (float4) to be passed by value at the same
      >   time.
      >
      9b89c13a
    • Tom Lane's avatar
      Make large sequential scans and VACUUMs work in a limited-size "ring" of · d526575f
      Tom Lane authored
      buffers, rather than blowing out the whole shared-buffer arena.  Aside from
      avoiding cache spoliation, this fixes the problem that VACUUM formerly tended
      to cause a WAL flush for every page it modified, because we had it hacked to
      use only a single buffer.  Those flushes will now occur only once per
      ring-ful.  The exact ring size, and the threshold for seqscans to switch into
      the ring usage pattern, remain under debate; but the infrastructure seems
      done.  The key bit of infrastructure is a new optional BufferAccessStrategy
      object that can be passed to ReadBuffer operations; this replaces the former
      StrategyHintVacuum API.
      
      This patch also changes the buffer usage-count methodology a bit: we now
      advance usage_count when first pinning a buffer, rather than when last
      unpinning it.  To preserve the behavior that a buffer's lifetime starts to
      decrease when it's released, the clock sweep code is modified to not decrement
      usage_count of pinned buffers.
      
      Work not done in this commit: teach GiST and GIN indexes to use the vacuum
      BufferAccessStrategy for vacuum-driven fetches.
      
      Original patch by Simon, reworked by Heikki and again by Tom.
      d526575f
    • Bruce Momjian's avatar
      Fix wording: · 0a6f2ee8
      Bruce Momjian authored
      < * Consider allowing 64-bit integers to be passed by reference on 64-bit
      > * Consider allowing 64-bit integers to be passed by value on 64-bit
      0a6f2ee8
    • Bruce Momjian's avatar
      Add: · 8a73ec13
      Bruce Momjian authored
      >
      > * Consider allowing 64-bit integers to be passed by reference on 64-bit
      >   platforms
      8a73ec13
    • Bruce Momjian's avatar
      18e3992e
    • Bruce Momjian's avatar
      Update documentation mention of VACUUM FULL and CLUSTER where · 9e38d2a4
      Bruce Momjian authored
      appropriate.
      
      Guillaume Cottenceau
      9e38d2a4
    • Neil Conway's avatar
      f14f27dd
    • Bruce Momjian's avatar
      Add URL for: · 85df43f3
      Bruce Momjian authored
      * Improve speed with indexes
      
        For large table adjustments during VACUUM FULL, it is faster to cluster
        or reindex rather than update the index.  Also, index updates can bloat
        the index.
      85df43f3
    • Bruce Momjian's avatar
      7d3b7011