1. 22 Mar, 2004 10 commits
  2. 21 Mar, 2004 3 commits
  3. 20 Mar, 2004 4 commits
  4. 19 Mar, 2004 3 commits
  5. 18 Mar, 2004 12 commits
  6. 17 Mar, 2004 6 commits
    • Bruce Momjian's avatar
      Done: · 3700335b
      Bruce Momjian authored
      > * -Order duplicate index entries on creation by tid for faster heap lookups
      3700335b
    • Tom Lane's avatar
      During btree index build, sort equal-keyed tuples according to their · fbac1272
      Tom Lane authored
      TID (heap position).  This doesn't do anything to the validity of the
      finished index, but by pretending to qsort() that there are no really
      equal keys in the sort, we can avoid performance problems with qsort
      implementations that have trouble with large numbers of equal keys.
      Patch from Manfred Koizar.
      fbac1272
    • Tom Lane's avatar
      Reimplement CASE val WHEN compval1 THEN ... WHEN compval2 THEN ... END · 55f7c330
      Tom Lane authored
      so that the 'val' is computed only once, per recent discussion.  The
      speedup is not much when 'val' is just a simple variable, but could be
      significant for larger expressions.  More importantly this avoids issues
      with multiple evaluations of a volatile 'val', and it allows the CASE
      expression to be reverse-listed in its original form by ruleutils.c.
      55f7c330
    • Bruce Momjian's avatar
      Modify: · 8c702ea7
      Bruce Momjian authored
      < * Order duplicate index entries by tid for faster heap lookups
      > * Order duplicate index entries on creation by tid for faster heap lookups
      8c702ea7
    • Bruce Momjian's avatar
      Document SPI_push() and SPI_pop(). · d245b6bd
      Bruce Momjian authored
      d245b6bd
    • Tom Lane's avatar
      Replace the switching function ExecEvalExpr() with a macro that jumps · c1352052
      Tom Lane authored
      directly to the appropriate per-node execution function, using a function
      pointer stored by ExecInitExpr.  This speeds things up by eliminating one
      level of function call.  The function-pointer technique also enables further
      small improvements such as only making one-time tests once (and then
      changing the function pointer).  Overall this seems to gain about 10%
      on evaluation of simple expressions, which isn't earthshaking but seems
      a worthwhile gain for a relatively small hack.  Per recent discussion
      on pghackers.
      c1352052
  7. 16 Mar, 2004 2 commits