1. 07 Sep, 2007 2 commits
  2. 06 Sep, 2007 1 commit
    • Tom Lane's avatar
      Make eval_const_expressions() preserve typmod when simplifying something like · f8942f4a
      Tom Lane authored
      null::char(3) to a simple Const node.  (It already worked for non-null values,
      but not when we skipped evaluation of a strict coercion function.)  This
      prevents loss of typmod knowledge in situations such as exhibited in bug
      #3598.  Unfortunately there seems no good way to fix that bug in 8.1 and 8.2,
      because they simply don't carry a typmod for a plain Const node.
      
      In passing I made all the other callers of makeNullConst supply "real" typmod
      values too, though I think it probably doesn't matter anywhere else.
      f8942f4a
  3. 05 Sep, 2007 4 commits
    • Bruce Momjian's avatar
      Done: · 190df8a4
      Bruce Momjian authored
      < * Reduce XID consumption of read-only queries
      <
      <    http://archives.postgresql.org/pgsql-hackers/2007-08/msg00516.php
      <
      <
      > * -Reduce XID consumption of read-only queries
      190df8a4
    • Tom Lane's avatar
      Volatile-qualify the ProcArray PGPROC pointer in a bunch of routines · 0ecb4ea7
      Tom Lane authored
      that examine fields that could change under them.  This is just to make
      really sure that when we are fetching a value 'only once', that's what
      actually happens.  Possibly this is a bug that should be back-patched,
      but in the absence of solid evidence that it's needed, I won't bother.
      0ecb4ea7
    • 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
  4. 04 Sep, 2007 4 commits
  5. 03 Sep, 2007 6 commits
  6. 02 Sep, 2007 1 commit
  7. 01 Sep, 2007 3 commits
  8. 31 Aug, 2007 12 commits
  9. 30 Aug, 2007 3 commits
  10. 29 Aug, 2007 4 commits