1. 19 8月, 2006 9 次提交
  2. 18 8月, 2006 7 次提交
  3. 17 8月, 2006 2 次提交
  4. 16 8月, 2006 6 次提交
  5. 15 8月, 2006 7 次提交
  6. 14 8月, 2006 9 次提交
    • T
      When executing a list of queries derived from rule expansion, · 29fa0513
      Tom Lane 提交于
      _SPI_execute_plan's return code should reflect the type of the query
      that is marked canSetTag, not necessarily the last one in the list.
      
      This is arguably a bug fix, but I'm hesitant to back-patch it because
      it's the sort of subtle change that might break someone's code, and it's
      best not to do that kind of thing in point releases.
      29fa0513
    • T
      Remove hash_destroy calls in hash_create's failure paths. As noted by · c859294c
      Tom Lane 提交于
      a Coverity warning, these are risky since the hashtable isn't necessarily
      fully set up yet.  They're unnecessary anyway: a deletable hashtable
      should be in a memory context that will be cleared following elog(ERROR).
      Per report from Martijn van Oosterhout.
      c859294c
    • B
      Revert (again) GUC patch to return commented fields to their default · f0584518
      Bruce Momjian 提交于
      values, due to concern about the patch.
      f0584518
    • T
      Get rid of "lookahead" functionality in plpgsql's yylex() function, · 36481474
      Tom Lane 提交于
      and instead make the grammar production for the RETURN statement do the
      heavy lifting.  The lookahead idea was copied from the main parser, but
      it does not work in plpgsql's parser because here gram.y looks explicitly
      at the scanner's yytext variable, which will be out of sync after a
      failed lookahead step.  A minimal example is
      
      create or replace function foo() returns void language plpgsql as '
      begin
        perform return foo bar;
      end';
      
      which can be seen by testing to deliver "foo foo bar" to the main parser
      instead of the expected "return foo bar".  This isn't a huge bug since
      RETURN is not found in the main grammar, but it could bite someone who
      tried to use "return" as an identifier.
      
      Back-patch to 8.1.  Bug exists further back, but HEAD patch doesn't apply
      cleanly, and given the lack of field complaints it doesn't seem worth
      the effort to develop adjusted patches.
      36481474
    • T
      Fix core dump in duration logging for a V3-protocol Execute message · 1b67e0cc
      Tom Lane 提交于
      when what's being executed is a COMMIT or ROLLBACK.  Per report from
      Sergey Koposov.  Backpatch to 8.1; 8.0 and before don't have the bug
      due to lack of any logging at all here.
      1b67e0cc
    • T
      Cause psql to report both the returned data and the command status tag · b475d25f
      Tom Lane 提交于
      for INSERT/UPDATE/DELETE RETURNING.  Per discussion.
      b475d25f
    • T
      If test postmaster fails to start within 60 seconds, try to kill -9 it · fbc7f59b
      Tom Lane 提交于
      so that it won't interfere with later trials.  Per recent buildfarm
      experience.  Anyone know how to do this on Windows?
      fbc7f59b
    • T
      Extend 'guc' regression test to check manipulations of datestyle as · a1dad99c
      Tom Lane 提交于
      well as vacuum_cost_delay.  Since datestyle is a string variable,
      this exercises memory allocation issues that might not appear when
      modifying an integer GUC variable.  Also, we can observe the side
      effects of changing datestyle to check that assign hooks are called
      at the right times.
      a1dad99c
    • T
      Original coding of 'returning' regression test inadvertently chose a · d2ccc707
      Tom Lane 提交于
      nonunique join value, leading to plan-choice-dependent results ... and
      it seems some platforms will choose a different plan.  Tweak the test
      so that it has well-defined results.  Per report from Olivier Prenant.
      d2ccc707