1. 03 9月, 2005 12 次提交
    • B
      Add idea: · b72fe49b
      Bruce Momjian 提交于
      <   cmin/cmax pair and is stored in local memory.
      >   cmin/cmax pair and is stored in local memory.  Another idea is to
      >   store both cmin and cmax only in local memory.
      b72fe49b
    • B
      11b5c554
    • T
      Fix the spelling. · 08020785
      Tom Lane 提交于
      08020785
    • B
      Update. · 264cd5f0
      Bruce Momjian 提交于
      < 	  have its heap and index files truncated.  One issue is
      < 	  that no other backend should be able to add to the table
      < 	  at the same time, which is something that is currently
      < 	  allowed.
      > 	  removed or have its heap and index files truncated.  One
      > 	  issue is that no other backend should be able to add to
      > 	  the table at the same time, which is something that is
      > 	  currently allowed.
      264cd5f0
    • B
      Update: · ef6d5b4e
      Bruce Momjian 提交于
      > 	o Allow COPY on a newly-created table to skip WAL logging
      450a452,456
      > 	  On crash recovery, the table involved in the COPY would
      > 	  have its heap and index files truncated.  One issue is
      > 	  that no other backend should be able to add to the table
      > 	  at the same time, which is something that is currently
      > 	  allowed.
      ef6d5b4e
    • B
      Update: · f8ec875c
      Bruce Momjian 提交于
      < 	o Allow COPY into an empty table to skip WAL logging
      > 	o Allow COPY into an new table to skip WAL logging
      f8ec875c
    • B
      Update listen_addresses description. · 4506ec95
      Bruce Momjian 提交于
      Darcy Buskermolen
      4506ec95
    • B
      Add: · 5bddded6
      Bruce Momjian 提交于
      > * Use UTF8 encoding for NLS messages so all server encodings can
      >   read them properly
      <         o %Add support for Unicode
      <
      < 	  To fix this, the data needs to be converted to/from UTF16/UTF8
      <           so the Win32 wcscoll() can be used, and perhaps other functions
      < 	  like towupper().  However, UTF8 already works with normal
      < 	  locales but provides no ordering or character set classes.
      5bddded6
    • B
      Update wording: · 3bea1a35
      Bruce Momjian 提交于
      <   could only see committed rows from another transaction. However,
      >   could only see rows from another completed transaction. However,
      981c981
      <   proper visibility of the row, for example, for cursors.
      >   proper visibility of the row's cmin, for example, for cursors.
      3bea1a35
    • B
      Add: · da08559e
      Bruce Momjian 提交于
      > 	o Allow COPY into an empty table to skip WAL logging
      da08559e
    • T
      Clean up a couple of ad-hoc computations of the maximum number of tuples · 35e9b1cc
      Tom Lane 提交于
      on a page, as suggested by ITAGAKI Takahiro.  Also, change a few places
      that were using some other estimates of max-items-per-page to consistently
      use MaxOffsetNumber.  This is conservatively large --- we could have used
      the new MaxHeapTuplesPerPage macro, or a similar one for index tuples ---
      but those places are simply declaring a fixed-size buffer and assuming it
      will work, rather than actively testing for overrun.  It seems safer to
      size these buffers in a way that can't overflow even if the page is
      corrupt.
      35e9b1cc
    • T
      In copy_file, use a palloc'd buffer instead of just a local char array; · 962a4bb6
      Tom Lane 提交于
      a local array isn't guaranteed to have any particular alignment, and
      so it could slow down the data transfer.
      962a4bb6
  2. 02 9月, 2005 9 次提交
    • B
      Add text: · fad7e8ed
      Bruce Momjian 提交于
      * Merge xmin/xmax/cmin/cmax back into three header fields
      
        Before subtransactions, there used to be only three fields needed to
        store these four values. This was possible because only the current
        transaction looks at the cmin/cmax values. If the current transaction
        created and expired the row the fields stored where xmin (same as
        xmax), cmin, cmax, and if the transaction was expiring a row from a
        another transaction, the fields stored were xmin (cmin was not
        needed), xmax, and cmax. Such a system worked because a transaction
        could only see committed rows from another transaction. However,
        subtransactions can see rows from outer transactions, and once the
        subtransaction completes, the outer transaction continues, requiring
        the storage of all four fields. With subtransactions, an outer
        transaction can create a row, a subtransaction expire it, and when the
        subtransaction completes, the outer transaction still has to have
        proper visibility of the row, for example, for cursors.
      
        One possible solution is to create a phantom cid which represents a
        cmin/cmax pair and is stored in local memory.
      fad7e8ed
    • T
      Add some notes about how pg_dump relates to the practices recommended · 6c0398a7
      Tom Lane 提交于
      under 'Populating a Database'.
      6c0398a7
    • T
      Update performance discussion for 8.1. Add a little more explanatory · 9a412be5
      Tom Lane 提交于
      material in the EXPLAIN section, update examples to match current reality,
      show examples of bitmap indexscans as well as plain ones.
      9a412be5
    • B
      Duplicate: · 55af2a43
      Bruce Momjian 提交于
      < * Maintain a map of recently-expired rows
      <
      <   This allows vacuum to target specific pages for possible free space
      <   without requiring a sequential scan.
      <
      Update entry:
      
      >   One complexity is that index entries still have to be vacuumed, and
      >   doing this without an index scan (by using the heap values to find the
      >   index entry) might be slow and unreliable, especially for user-defined
      >   index functions.
      55af2a43
    • T
      ce128c01
    • T
      Update storage.sgml to reflect current reality. · e32a2ec6
      Tom Lane 提交于
      e32a2ec6
    • T
      Short-circuit AllocSetReset if nothing has been palloc'd in the memory · a635ab46
      Tom Lane 提交于
      context since the previous AllocSetReset.  Original patch by Atsushi Ogawa,
      editorialized on a little bit by Tom Lane.
      a635ab46
    • B
      8.0.3 is now the most recent version. · 91a21b53
      Bruce Momjian 提交于
      91a21b53
    • B
      fc9b6451
  3. 01 9月, 2005 1 次提交
  4. 31 8月, 2005 2 次提交
  5. 30 8月, 2005 9 次提交
  6. 29 8月, 2005 7 次提交