1. 31 12月, 2006 2 次提交
  2. 30 12月, 2006 2 次提交
  3. 29 12月, 2006 7 次提交
  4. 28 12月, 2006 11 次提交
  5. 27 12月, 2006 5 次提交
    • B
      Use "dead" rather than "expired" for vacuumable rows. · 4f1e4911
      Bruce Momjian 提交于
      4f1e4911
    • T
      Fix failure due to accessing an already-freed tuple descriptor in a plan · 0cbc5b1e
      Tom Lane 提交于
      involving HashAggregate over SubqueryScan (this is the known case, there
      may well be more).  The bug is only latent in releases before 8.2 since they
      didn't try to access tupletable slots' descriptors during ExecDropTupleTable.
      The least bogus fix seems to be to make subqueries share the parent query's
      memory context, so that tupdescs they create will have the same lifespan as
      those of the parent query.  There are comments in the code envisioning going
      even further by not having a separate child EState at all, but that will
      require rethinking executor access to range tables, which I don't want to
      tackle right now.  Per bug report from Jean-Pierre Pelletier.
      0cbc5b1e
    • T
      Repair bug #2839: the various ExecReScan functions need to reset · 68996463
      Tom Lane 提交于
      ps_TupFromTlist in plan nodes that make use of it.  This was being done
      correctly in join nodes and Result nodes but not in any relation-scan nodes.
      Bug would lead to bogus results if a set-returning function appeared in the
      targetlist of a subquery that could be rescanned after partial execution,
      for example a subquery within EXISTS().  Bug has been around forever :-(
      ... surprising it wasn't reported before.
      68996463
    • T
      Repair bug #2836: SPI_execute_plan returned zero if none of the querytrees · fccf99f0
      Tom Lane 提交于
      were marked canSetTag.  While it's certainly correct to return the result
      of the last one that is marked canSetTag, it's less clear what to do when
      none of them are.  Since plpgsql will complain if zero is returned, the
      8.2.0 behavior isn't good.  I've fixed it to restore the prior behavior of
      returning the physically last query's result code when there are no
      canSetTag queries.
      fccf99f0
    • T
      Remove incorrect semicolon in example. Joachim Wieland · 4a836bad
      Tom Lane 提交于
      4a836bad
  6. 26 12月, 2006 2 次提交
  7. 25 12月, 2006 2 次提交
    • T
      Make HISTCONTROL=ignoredups work again (broken by misordering of · 506a9893
      Tom Lane 提交于
      operations during recent code refactoring).  Per bug #2840 from Ned Crigler.
      506a9893
    • T
      Bring some order and sanity to error handling in the xml patch. · 57f1630c
      Tom Lane 提交于
      Use a TRY block instead of (inadequate) ad-hoc coding to ensure that
      libxml is cleaned up after a failure.  Report the intended SQLCODE
      instead of defaulting to XX000.  Avoid risking use of a dangling
      pointer by keeping the persistent error buffer in TopMemoryContext.
      Be less trusting that error messages don't contain %.
      
      This patch doesn't do anything about changing the way the messages
      are put together --- this is just about mechanism.
      57f1630c
  8. 24 12月, 2006 2 次提交
  9. 23 12月, 2006 7 次提交