1. 04 Sep, 2008 1 commit
  2. 03 Sep, 2008 1 commit
  3. 02 Sep, 2008 1 commit
  4. 01 Sep, 2008 6 commits
  5. 30 Aug, 2008 2 commits
  6. 29 Aug, 2008 5 commits
  7. 28 Aug, 2008 1 commit
    • Tom Lane's avatar
      Extend the parser location infrastructure to include a location field in · a2794623
      Tom Lane authored
      most node types used in expression trees (both before and after parse
      analysis).  This allows us to place an error cursor in many situations
      where we formerly could not, because the information wasn't available
      beyond the very first level of parse analysis.  There's a fair amount
      of work still to be done to persuade individual ereport() calls to actually
      include an error location, but this gets the initdb-forcing part of the
      work out of the way; and the situation is already markedly better than
      before for complaints about unimplementable implicit casts, such as
      CASE and UNION constructs with incompatible alternative data types.
      Per my proposal of a few days ago.
      a2794623
  8. 26 Aug, 2008 2 commits
  9. 25 Aug, 2008 9 commits
  10. 23 Aug, 2008 3 commits
  11. 22 Aug, 2008 4 commits
    • Bruce Momjian's avatar
      8ddb739e
    • Bruce Momjian's avatar
      Minor patch on pgbench · 6152de97
      Bruce Momjian authored
      1. -i option should run vacuum analyze only on pgbench tables, not *all*
      tables in database.
      
      2. pre-run cleanup step was DELETE FROM HISTORY then VACUUM HISTORY.
      This is just a slow version of TRUNCATE HISTORY.
      
      Simon Riggs
      6152de97
    • Bruce Momjian's avatar
      Improve wording of error message when a postgresql.conf setting is · 03302fd9
      Bruce Momjian authored
      ignored because it can only be set at server start.
      03302fd9
    • Tom Lane's avatar
      Arrange to convert EXISTS subqueries that are equivalent to hashable IN · bd3dadda
      Tom Lane authored
      subqueries into the same thing you'd have gotten from IN (except always with
      unknownEqFalse = true, so as to get the proper semantics for an EXISTS).
      I believe this fixes the last case within CVS HEAD in which an EXISTS could
      give worse performance than an equivalent IN subquery.
      
      The tricky part of this is that if the upper query probes the EXISTS for only
      a few rows, the hashing implementation can actually be worse than the default,
      and therefore we need to make a cost-based decision about which way to use.
      But at the time when the planner generates plans for subqueries, it doesn't
      really know how many times the subquery will be executed.  The least invasive
      solution seems to be to generate both plans and postpone the choice until
      execution.  Therefore, in a query that has been optimized this way, EXPLAIN
      will show two subplans for the EXISTS, of which only one will actually get
      executed.
      
      There is a lot more that could be done based on this infrastructure: in
      particular it's interesting to consider switching to the hash plan if we start
      out using the non-hashed plan but find a lot more upper rows going by than we
      expected.  I have therefore left some minor inefficiencies in place, such as
      initializing both subplans even though we will currently only use one.
      bd3dadda
  12. 21 Aug, 2008 3 commits
  13. 20 Aug, 2008 2 commits