1. 25 Mar, 2007 1 commit
  2. 24 Mar, 2007 5 commits
  3. 23 Mar, 2007 13 commits
  4. 22 Mar, 2007 15 commits
  5. 21 Mar, 2007 6 commits
    • Tom Lane's avatar
      Fix some problems with selectivity estimation for partial indexes. · 54d20024
      Tom Lane authored
      First, genericcostestimate() was being way too liberal about including
      partial-index conditions in its selectivity estimate, resulting in
      substantial underestimates for situations such as an indexqual "x = 42"
      used with an index on x "WHERE x >= 40 AND x < 50".  While the code is
      intentionally set up to favor selecting partial indexes when available,
      this was too much...
      
      Second, choose_bitmap_and() was likewise easily fooled by cases of this
      type, since it would similarly think that the partial index had selectivity
      independent of the indexqual.
      
      Fixed by using predicate_implied_by() rather than simple equality checks
      to determine redundancy.  This is a good deal more expensive but I don't
      see much alternative.  At least the extra cost is only paid when there's
      actually a partial index under consideration.
      
      Per report from Jeff Davis.  I'm not going to risk back-patching this,
      though.
      54d20024
    • Bruce Momjian's avatar
      Add: · 2b49e5d3
      Bruce Momjian authored
      <
      <
      > 	o During index creation, pre-sort the tuples to improve build speed
      >
      > 	  http://archives.postgresql.org/pgsql-hackers/2007-03/msg01199.php
      >
      2b49e5d3
    • Bruce Momjian's avatar
      Remove TODO item, not wanted: · 5fc7ba76
      Bruce Momjian authored
      < * Add NUMERIC division operator that doesn't round?
      <
      <   Currently NUMERIC _rounds_ the result to the specified precision.
      <   This means division can return a result that multiplied by the
      <   divisor is greater than the dividend, e.g. this returns a value > 10:
      <
      <     SELECT (10::numeric(2,0) / 6::numeric(2,0))::numeric(2,0) * 6;
      <
      <   The positive modulus result returned by NUMERICs might be considered
      <   inaccurate, in one sense.
      <
      5fc7ba76
    • Magnus Hagander's avatar
      Add documentation about vcregress. · 17fdd783
      Magnus Hagander authored
      17fdd783
    • Bruce Momjian's avatar
      Add URL for: · bebbea0c
      Bruce Momjian authored
      * Add locale-aware MONEY type, and support multiple currencies
        http://archives.postgresql.org/pgsql-hackers/2007-03/msg01181.php
      bebbea0c
    • Magnus Hagander's avatar