1. 17 Mar, 2004 1 commit
    • 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
  2. 16 Mar, 2004 2 commits
  3. 15 Mar, 2004 16 commits
  4. 14 Mar, 2004 11 commits
  5. 13 Mar, 2004 3 commits
    • Bruce Momjian's avatar
      Done: · afaf252c
      Bruce Momjian authored
      > * -Issue NOTICE if foreign key data requires costly test to match primary key
      afaf252c
    • Tom Lane's avatar
      Generate a WARNING when the column types in a foreign key constraint are · b88fa3b1
      Tom Lane authored
      incompatible enough to prevent indexscanning the referenced table.  Also,
      improve the error message that pops out when we can't implement the FK at
      all for lack of a usable equality operator.  Fabien Coelho, with some review
      by Tom Lane.
      b88fa3b1
    • Tom Lane's avatar
      Repair memory leakage introduced into the non-hashed aggregate case by · 642cd0ab
      Tom Lane authored
      7.4 rewrite for hashed aggregate support.  If the transition data type
      is pass-by-reference, the transValue must be pfreed when starting a new
      group boundary, else we have a one-value-per-group leakage.  Thanks to
      Rae Steining for providing a reproducible test case.
      642cd0ab
  6. 12 Mar, 2004 7 commits