1. 19 5月, 2001 9 次提交
  2. 18 5月, 2001 1 次提交
  3. 17 5月, 2001 6 次提交
  4. 16 5月, 2001 2 次提交
  5. 15 5月, 2001 11 次提交
  6. 13 5月, 2001 1 次提交
    • T
      Modify RelationGetBufferForTuple() so that we only do lseek and lock · eedb7d18
      Tom Lane 提交于
      when we need to move to a new page; as long as we can insert the new
      tuple on the same page as before, we only need LockBuffer and not the
      expensive stuff.  Also, twiddle bufmgr interfaces to avoid redundant
      lseeks in RelationGetBufferForTuple and BufferAlloc.  Successive inserts
      now require one lseek per page added, rather than one per tuple with
      several additional ones at each page boundary as happened before.
      Lock contention when multiple backends are inserting in same table
      is also greatly reduced.
      eedb7d18
  7. 12 5月, 2001 1 次提交
  8. 11 5月, 2001 1 次提交
    • T
      Avoid unnecessary lseek() calls by cleanups in md.c. mdfd_lstbcnt was · 642107d5
      Tom Lane 提交于
      not being consulted anywhere, so remove it and remove the _mdnblocks()
      calls that were used to set it.  Change smgrextend interface to pass in
      the target block number (ie, current file length) --- the caller always
      knows this already, having already done smgrnblocks(), so it's silly to
      do it over again inside mdextend.  Net result: extension of a file now
      takes one lseek(SEEK_END) and a write(), not three lseeks and a write.
      642107d5
  9. 10 5月, 2001 5 次提交
  10. 09 5月, 2001 3 次提交
    • T
      Cause planner to make use of average-column-width statistic that is now · 6cda3ad8
      Tom Lane 提交于
      collected by ANALYZE.  Also, add some modest amount of intelligence to
      guesses that are used for varlena columns in the absence of any ANALYZE
      statistics.  The 'width' reported by EXPLAIN is finally something less
      than totally bogus for varlena columns ... and, in consequence, hashjoin
      estimating should be a little better ...
      6cda3ad8
    • P
      Add SET SESSION AUTHORIZATION command. · 1c1c58c7
      Peter Eisentraut 提交于
      1c1c58c7
    • T
      Append and SubqueryScan nodes were not passing changed-parameter signals down · 5708a567
      Tom Lane 提交于
      to their children, leading to misbehavior if they had any children that paid
      attention to chgParam (most plan node types don't).  Append's bug has been
      there a long time, but nobody had noticed because it used to be difficult
      to create a query where an Append would be used below the top level of a
      plan; so there were never any parameters getting passed down.  SubqueryScan
      is new in 7.1 ... and I'd modeled its behavior on Append :-(
      5708a567