1. 02 9月, 2005 8 次提交
  2. 01 9月, 2005 1 次提交
  3. 31 8月, 2005 2 次提交
  4. 30 8月, 2005 9 次提交
  5. 29 8月, 2005 11 次提交
  6. 28 8月, 2005 5 次提交
    • T
      cost_agg really ought to charge something per output tuple; else there · 974e3cf3
      Tom Lane 提交于
      are cases where it appears to have zero run cost.
      974e3cf3
    • T
      Change the division of labor between grouping_planner and query_planner · 4e5fbb34
      Tom Lane 提交于
      so that the latter estimates the number of groups that grouping will
      produce.  This is needed because it is primarily query_planner that
      makes the decision between fast-start and fast-finish plans, and in the
      original coding it was unable to make more than a crude rule-of-thumb
      choice when the query involved grouping.  This revision helps us make
      saner choices for queries like SELECT ... GROUP BY ... LIMIT, as in a
      recent example from Mark Kirkwood.  Also move the responsibility for
      canonicalizing sort_pathkeys and group_pathkeys into query_planner;
      this information has to be available anyway to support the first change,
      and doing it this way lets us get rid of compare_noncanonical_pathkeys
      entirely.
      4e5fbb34
    • T
    • T
      Fix two separate bugs in setrefs.c. set_subqueryscan_references needs · 5a7d3697
      Tom Lane 提交于
      to copy the whole plan tree before invoking adjust_plan_varnos(); else
      if there is any multiply-linked substructure, the latter might increment
      some Var's varno twice.  Previously there were some retail copyObject
      calls inside adjust_plan_varnos, but it seems a lot safer to just dup the
      whole tree first.  Also, set_inner_join_references was trying to avoid
      work by not recursing if a BitmapHeapScan's bitmapqualorig contained no
      outer references; which was OK at the time the code was written, I think,
      but now that create_bitmap_scan_plan removes duplicate clauses from
      bitmapqualorig it is possible for that field to be NULL while outer
      references still remain in the qpqual and/or contained indexscan nodes.
      For safety, always recurse even if the BitmapHeapScan looks to be outer
      reference free.  Per reports from Michael Fuhr and Oleg Bartunov.
      5a7d3697
    • T
      Get the MIPS assembler syntax right. Also add a separate sync command; · 5824d021
      Tom Lane 提交于
      the reference I consulted yesterday said SC does a SYNC, but apparently
      this is not true on newer MIPS processors, so be safe.
      5824d021
  7. 27 8月, 2005 4 次提交
    • B
      Fix typo: · 338e28e2
      Bruce Momjian 提交于
      sql_information_info -> sql_implementation_info
      
      Robert Treat
      338e28e2
    • B
      Add: · a1a19bb8
      Bruce Momjian 提交于
      > * Allow user-defined types to specify a type modifier at table creation
      >   time
      a1a19bb8
    • B
      Update: · 542faa82
      Bruce Momjian 提交于
      >
      >   Another issue is whether underlying table changes should be reflected
      >   in the view, e.g. should SELECT * show additional columns if they
      >   are added after the view is created.
      542faa82
    • T
      Another try at the inlined MIPS spinlock code. Can't test this myself, · 846319db
      Tom Lane 提交于
      but for sure it's not any more broken than the prior version.
      846319db