1. 05 Sep, 2007 2 commits
    • Tom Lane's avatar
      Quick hack to make the VXID of a prepared transaction be -1/XID, · 4bf2dfb9
      Tom Lane authored
      so that different prepared xacts can be told apart in the pg_locks
      view.  Per suggestion from Florian.
      4bf2dfb9
    • Tom Lane's avatar
      Implement lazy XID allocation: transactions that do not modify any database · 295e6398
      Tom Lane authored
      rows will normally never obtain an XID at all.  We already did things this way
      for subtransactions, but this patch extends the concept to top-level
      transactions.  In applications where there are lots of short read-only
      transactions, this should improve performance noticeably; not so much from
      removal of the actual XID-assignments, as from reduction of overhead that's
      driven by the rate of XID consumption.  We add a concept of a "virtual
      transaction ID" so that active transactions can be uniquely identified even
      if they don't have a regular XID.  This is a much lighter-weight concept:
      uniqueness of VXIDs is only guaranteed over the short term, and no on-disk
      record is made about them.
      
      Florian Pflug, with some editorialization by Tom.
      295e6398
  2. 04 Sep, 2007 4 commits
  3. 03 Sep, 2007 6 commits
  4. 02 Sep, 2007 1 commit
  5. 01 Sep, 2007 3 commits
  6. 31 Aug, 2007 12 commits
  7. 30 Aug, 2007 3 commits
  8. 29 Aug, 2007 7 commits
  9. 28 Aug, 2007 2 commits