1. 17 7月, 2010 1 次提交
  2. 16 7月, 2010 5 次提交
  3. 15 7月, 2010 3 次提交
    • T
      25be9b1d
    • T
      Fix several problems in pg_dump's handling of SQL/MED objects, notably failure · 599dba4a
      Tom Lane 提交于
      to dump a PUBLIC user mapping correctly, as per bug #5560 from Shigeru Hanada.
      Use the pg_user_mappings view rather than trying to access pg_user_mapping
      directly, so that the code doesn't fail when run by a non-superuser.  And
      clean up some minor carelessness such as unsafe usage of fmtId().
      
      Back-patch to 8.4 where this code was added.
      599dba4a
    • T
      Allow full SSL certificate verification (wherein libpq checks its host name · d494e685
      Tom Lane 提交于
      parameter against server cert's CN field) to succeed in the case where
      both host and hostaddr are specified.  As with the existing precedents
      for Kerberos, GSSAPI, SSPI, it is the calling application's responsibility
      that host and hostaddr match up --- we just use the host name as given.
      Per bug #5559 from Christopher Head.
      
      In passing, make the error handling and messages for the no-host-name-given
      failure more consistent among these four cases, and correct a lie in the
      documentation: we don't attempt to reverse-lookup host from hostaddr
      if host is missing.
      
      Back-patch to 8.4 where SSL cert verification was introduced.
      d494e685
  4. 14 7月, 2010 5 次提交
  5. 13 7月, 2010 8 次提交
  6. 11 7月, 2010 1 次提交
  7. 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
  8. 09 7月, 2010 12 次提交
  9. 08 7月, 2010 1 次提交