Skip to content
Snippets Groups Projects
  1. Mar 13, 2005
  2. Mar 12, 2005
    • Tom Lane's avatar
      Adjust the API for aggregate function calls so that a C-coded function · fa5e4401
      Tom Lane authored
      can tell whether it is being used as an aggregate or not.  This allows
      such a function to avoid re-pallocing a pass-by-reference transition
      value; normally it would be unsafe for a function to scribble on an input,
      but in the aggregate case it's safe to reuse the old transition value.
      Make int8inc() do this.  This gets a useful improvement in the speed of
      COUNT(*), at least on narrow tables (it seems to be swamped by I/O when
      the table rows are wide).  Per a discussion in early December with
      Neil Conway.  I also fixed int_aggregate.c to check this, thereby
      turning it into something approaching a supportable technique instead
      of being a crude hack.
      fa5e4401
    • Bruce Momjian's avatar
      Documention all our supported encodings. · 852ef58d
      Bruce Momjian authored
      852ef58d
  3. Mar 11, 2005
  4. Mar 08, 2005
  5. Mar 07, 2005
  6. Mar 04, 2005
    • Tom Lane's avatar
      Replace the BufMgrLock with separate locks on the lookup hashtable and · 5d508736
      Tom Lane authored
      the freelist, plus per-buffer spinlocks that protect access to individual
      shared buffer headers.  This requires abandoning a global freelist (since
      the freelist is a global contention point), which shoots down ARC and 2Q
      as well as plain LRU management.  Adopt a clock sweep algorithm instead.
      Preliminary results show substantial improvement in multi-backend situations.
      5d508736
  7. Mar 02, 2005
  8. Feb 28, 2005
  9. Feb 27, 2005
  10. Feb 26, 2005
  11. Feb 25, 2005
  12. Feb 22, 2005
  13. Feb 21, 2005
Loading