1. 12 7月, 2008 1 次提交
  2. 19 6月, 2008 1 次提交
  3. 07 6月, 2008 1 次提交
  4. 17 5月, 2008 1 次提交
  5. 12 5月, 2008 1 次提交
    • A
      Restructure some header files a bit, in particular heapam.h, by removing some · f8c4d7db
      Alvaro Herrera 提交于
      unnecessary #include lines in it.  Also, move some tuple routine prototypes and
      macros to htup.h, which allows removal of heapam.h inclusion from some .c
      files.
      
      For this to work, a new header file access/sysattr.h needed to be created,
      initially containing attribute numbers of system columns, for pg_dump usage.
      
      While at it, make contrib ltree, intarray and hstore header files more
      consistent with our header style.
      f8c4d7db
  6. 23 4月, 2008 1 次提交
    • T
      Fix using too many LWLocks bug, reported by Craig Ringer · cf23b75b
      Teodor Sigaev 提交于
      <craig@postnewspapers.com.au>.
      It was my mistake, I missed limitation of number of held locks, now GIN doesn't
      use continiuous locks, but still hold buffers pinned to prevent interference
      with vacuum's deletion algorithm.
      
      Backpatch is needed.
      cf23b75b
  7. 11 4月, 2008 1 次提交
    • T
      Replace "amgetmulti" AM functions with "amgetbitmap", in which the whole · 4e82a954
      Tom Lane 提交于
      indexscan always occurs in one call, and the results are returned in a
      TIDBitmap instead of a limited-size array of TIDs.  This should improve
      speed a little by reducing AM entry/exit overhead, and it is necessary
      infrastructure if we are ever to support bitmap indexes.
      
      In an only slightly related change, add support for TIDBitmaps to preserve
      (somewhat lossily) the knowledge that particular TIDs reported by an index
      need to have their quals rechecked when the heap is visited.  This facility
      is not really used yet; we'll need to extend the forced-recheck feature to
      plain indexscans before it's useful, and that hasn't been coded yet.
      The intent is to use it to clean up 8.3's horrid @@@ kluge for text search
      with weighted queries.  There might be other uses in future, but that one
      alone is sufficient reason.
      
      Heikki Linnakangas, with some adjustments by me.
      4e82a954
  8. 02 1月, 2008 1 次提交
  9. 17 11月, 2007 1 次提交
    • T
      GIN index build's allocatedMemory counter needs to be long, not uint32. · 16dcd5e5
      Tom Lane 提交于
      Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb,
      the counter overflows and we never recognize having reached the
      maintenance_work_mem limit.  I believe this explains out-of-memory
      failure recently reported by Sean Davis.
      
      This is a bug, so backpatch to 8.2.
      16dcd5e5
  10. 16 11月, 2007 1 次提交
  11. 21 8月, 2007 1 次提交
  12. 25 7月, 2007 1 次提交
  13. 10 4月, 2007 1 次提交
    • T
      Minor tweaking of index special-space definitions so that the various · 56218fbc
      Tom Lane 提交于
      index types can be reliably distinguished by examining the special space
      on an index page.  Per my earlier proposal, plus the realization that
      there's no need for btree's vacuum cycle ID to cycle through every possible
      16-bit value.  Restricting its range a little costs nearly nothing and
      eliminates the possibility of collisions.
      Memo to self: remember to make bitmap indexes play along with this scheme,
      assuming that patch ever gets accepted.
      56218fbc
  14. 31 1月, 2007 1 次提交
  15. 06 10月, 2006 1 次提交
  16. 04 10月, 2006 1 次提交
  17. 11 9月, 2006 1 次提交
  18. 08 8月, 2006 1 次提交
    • T
      Make recovery from WAL be restartable, by executing a checkpoint-like · e0028369
      Tom Lane 提交于
      operation every so often.  This improves the usefulness of PITR log
      shipping for hot standby: formerly, if the standby server crashed, it
      was necessary to restart it from the last base backup and replay all
      the WAL since then.  Now it will only need to reread about the same
      amount of WAL as the master server would.  The behavior might also
      come in handy during a long PITR replay sequence.  Simon Riggs,
      with some editorialization by Tom Lane.
      e0028369
  19. 12 7月, 2006 1 次提交
    • T
      GIN improvements · 23416364
      Teodor Sigaev 提交于
      - Replace sorted array of entries in maintenance_work_mem to binary tree,
        this should improve create performance.
      - More precisely calculate allocated memory, eliminate leaks
        with user-defined extractValue()
      - Improve wordings in tsearch2
      23416364
  20. 11 7月, 2006 1 次提交
  21. 04 7月, 2006 1 次提交
    • T
      Code review for FILLFACTOR patch. Change WITH grammar as per earlier · b7b78d24
      Tom Lane 提交于
      discussion (including making def_arg allow reserved words), add missed
      opt_definition for UNIQUE case.  Put the reloptions support code in a less
      random place (I chose to make a new file access/common/reloptions.c).
      Eliminate header inclusion creep.  Make the index options functions safely
      user-callable (seems like client apps might like to be able to test validity
      of options before trying to make an index).  Reduce overhead for normal case
      with no options by allowing rd_options to be NULL.  Fix some unmaintainably
      klugy code, including getting rid of Natts_pg_class_fixed at long last.
      Some stylistic cleanup too, and pay attention to keeping comments in sync
      with code.
      
      Documentation still needs work, though I did fix the omissions in
      catalogs.sgml and indexam.sgml.
      b7b78d24
  22. 02 7月, 2006 1 次提交
  23. 02 5月, 2006 1 次提交