1. 13 7月, 2010 2 次提交
  2. 11 7月, 2010 1 次提交
  3. 10 7月, 2010 4 次提交
    • R
      Clarify that "psql -c" ignores psqlrc files. · 2e6d24a6
      Robert Haas 提交于
      Tim Landscheidt
      2e6d24a6
    • T
      Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() · 5ce63f48
      Tom Lane 提交于
      use the actual element type of the array it's disassembling, rather than
      trusting the type OID passed in by its caller.  This is needed because
      sometimes the planner passes in a type OID that's only binary-compatible
      with the target column's type, rather than being an exact match.  Per an
      example from Bernd Helmle.
      
      Possibly we should refactor get_attstatsslot/free_attstatsslot to not expect
      the caller to supply type ID data at all, but for now I'll just do the
      minimum-change fix.
      
      Back-patch to 7.4.  Bernd's test case only crashes back to 8.0, but since
      these subroutines are the same in 7.4, I suspect there may be variant
      cases that would crash 7.4 as well.
      5ce63f48
    • T
      Fix ruleutils' get_variable() to print something useful for Vars referencing · 2b8a6245
      Tom Lane 提交于
      resjunk outputs of subquery tlists, instead of throwing an error.  Per bug
      #5548 from Daniel Grace.
      
      We might at some point find we ought to back-patch this further than 9.0,
      but I think that such Vars can only occur as resjunk members of upper-level
      tlists, in which case the problem can't arise because prior versions didn't
      print resjunk tlist items in EXPLAIN VERBOSE.
      2b8a6245
    • B
      Properly report errno/out-of-disk-space error from pg_upgrade when in · a0d7c5f6
      Bruce Momjian 提交于
      copy mode, per report from depstein@alliedtesting.com.
      
      Patch suggestion from Magnus.
      
      Backpatch to 9.0.X.
      a0d7c5f6
  4. 09 7月, 2010 12 次提交
  5. 08 7月, 2010 3 次提交
  6. 07 7月, 2010 10 次提交
  7. 06 7月, 2010 6 次提交
  8. 05 7月, 2010 1 次提交
    • H
      The previous fix in CVS HEAD and 8.4 for handling the case where a cursor · eb81b650
      Heikki Linnakangas 提交于
      being used in a PL/pgSQL FOR loop is closed was inadequate, as Tom Lane
      pointed out. The bug affects FOR statement variants too, because you can
      close an implicitly created cursor too by guessing the "<unnamed portal X>"
      name created for it.
      
      To fix that, "pin" the portal to prevent it from being dropped while it's
      being used in a PL/pgSQL FOR loop. Backpatch all the way to 7.4 which is
      the oldest supported version.
      eb81b650
  9. 04 7月, 2010 1 次提交