1. 16 12月, 2008 8 次提交
  2. 15 12月, 2008 6 次提交
  3. 14 12月, 2008 1 次提交
  4. 13 12月, 2008 3 次提交
    • T
      Remove pg_plan_queries()'s now-useless needSnapshot parameter. It's useless · b69bde77
      Tom Lane 提交于
      in 8.3, too, but I'm not back-patching this change since it would break any
      extension modules that might be calling that function.
      b69bde77
    • T
      Fix failure to ensure that a snapshot is available to datatype input functions · c98a9237
      Tom Lane 提交于
      when they are invoked by the parser.  We had been setting up a snapshot at
      plan time but really it needs to be done earlier, before parse analysis.
      Per report from Dmitry Koterov.
      
      Also fix two related problems discovered while poking at this one:
      exec_bind_message called datatype input functions without establishing a
      snapshot, and SET CONSTRAINTS IMMEDIATE could call trigger functions without
      establishing a snapshot.
      
      Backpatch to 8.2.  The underlying problem goes much further back, but it is
      masked in 8.1 and before because we didn't attempt to invoke domain check
      constraints within datatype input.  It would only be exposed if a C-language
      datatype input function used the snapshot; which evidently none do, or we'd
      have heard complaints sooner.  Since this code has changed a lot over time,
      a back-patch is hardly risk-free, and so I'm disinclined to patch further
      than absolutely necessary.
      c98a9237
    • A
      0f864a63
  5. 12 12月, 2008 2 次提交
  6. 11 12月, 2008 4 次提交
  7. 10 12月, 2008 2 次提交
  8. 09 12月, 2008 3 次提交
  9. 08 12月, 2008 4 次提交
  10. 07 12月, 2008 4 次提交
  11. 05 12月, 2008 2 次提交
  12. 04 12月, 2008 1 次提交
    • A
      Fix a couple of snapshot management bugs in the new ResourceOwner world: · 7b640b03
      Alvaro Herrera 提交于
      non-writable large objects need to have their snapshots registered on the
      transaction resowner, not the current portal's, because it must persist until
      the large object is closed (which the portal does not).  Also, ensure that the
      serializable snapshot is recorded by the transaction resource owner too, even
      when a subtransaction has changed the current resource owner before
      serializable is taken.
      
      Per bug reports from Pavan Deolasee.
      7b640b03