1. 15 12月, 2000 1 次提交
    • T
      Planner speedup hacking. Avoid saving useless pathkeys, so that path · ea166f11
      Tom Lane 提交于
      comparison does not consider paths different when they differ only in
      uninteresting aspects of sort order.  (We had a special case of this
      consideration for indexscans already, but generalize it to apply to
      ordered join paths too.)  Be stricter about what is a canonical pathkey
      to allow faster pathkey comparison.  Cache canonical pathkeys and
      dispersion stats for left and right sides of a RestrictInfo's clause,
      to avoid repeated computation.  Total speedup will depend on number of
      tables in a query, but I see about 4x speedup of planning phase for
      a sample seven-table query.
      ea166f11
  2. 14 12月, 2000 3 次提交
  3. 13 12月, 2000 5 次提交
    • B
      Update TODO list. · 47e22976
      Bruce Momjian 提交于
      Index: TODO
      ===================================================================
      RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
      retrieving revision 1.300
      diff -r1.300 TODO
      3c3
      < Last updated:		Tue Dec 12 23:01:04 EST 2000
      ---
      > Last updated:		Tue Dec 12 23:01:53 EST 2000
      21d20
      < * test to show diffs for TODO changes
      47e22976
    • B
      Update TODO list. · 8b4c54ef
      Bruce Momjian 提交于
      Index: TODO
      ===================================================================
      RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/TODO,v
      retrieving revision 1.299
      diff -r1.299 TODO
      3c3
      < Last updated:		Tue Dec 12 15:27:50 EST 2000
      ---
      > Last updated:		Tue Dec 12 23:01:04 EST 2000
      20a21
      > * test to show diffs for TODO changes
      8b4c54ef
    • T
      Cache eval cost of qualification expressions in RestrictInfo nodes to · 17b843d6
      Tom Lane 提交于
      avoid repeated evaluations in cost_qual_eval().  This turns out to save
      a useful fraction of planning time.  No change to external representation
      of RestrictInfo --- although that node type doesn't appear in stored
      rules anyway.
      17b843d6
    • B
      Update TODO list. · 77c443f8
      Bruce Momjian 提交于
      77c443f8
    • B
      In 'Joins between classes' in Section 5 of the tutorial we have, in · 36da236e
      Bruce Momjian 提交于
      the first paragraph:
      
          As an example, say we wish to find all the records that
          are in the  temperature  range  of  other records. In
          effect, we need to compare the temp_lo and temp_hi
          attributes of each EMP instance to the temp_lo and
          temp_hi  attributes of all other EMP instances.
      
      I believe that EMP should read WEATHER, as the example query that
      follows joins WEATHER to itself.
      
      EMP is often used in Oracle examples.
      
      Regards,
      Graham
      
      Other RULE cleanups
      36da236e
  4. 12 12月, 2000 12 次提交
  5. 11 12月, 2000 12 次提交
  6. 10 12月, 2000 4 次提交
  7. 09 12月, 2000 3 次提交