1. 18 Jul, 2010 6 commits
  2. 16 Jul, 2010 6 commits
  3. 14 Jul, 2010 3 commits
    • Tom Lane's avatar
      25be9b1d
    • Tom Lane's avatar
      Fix several problems in pg_dump's handling of SQL/MED objects, notably failure · 599dba4a
      Tom Lane authored
      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
    • Tom Lane's avatar
      Allow full SSL certificate verification (wherein libpq checks its host name · d494e685
      Tom Lane authored
      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. 13 Jul, 2010 7 commits
  5. 12 Jul, 2010 6 commits
  6. 10 Jul, 2010 2 commits
  7. 09 Jul, 2010 6 commits
    • Tom Lane's avatar
      Avoid an Assert failure in deconstruct_array() by making get_attstatsslot() · 5ce63f48
      Tom Lane authored
      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
    • Tom Lane's avatar
      Fix ruleutils' get_variable() to print something useful for Vars referencing · 2b8a6245
      Tom Lane authored
      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
    • Bruce Momjian's avatar
      Properly report errno/out-of-disk-space error from pg_upgrade when in · a0d7c5f6
      Bruce Momjian authored
      copy mode, per report from depstein@alliedtesting.com.
      
      Patch suggestion from Magnus.
      
      Backpatch to 9.0.X.
      a0d7c5f6
    • Robert Haas's avatar
      Add a hook in ExecCheckRTPerms(). · f4122a8d
      Robert Haas authored
      This hook allows a loadable module to gain control when table permissions
      are checked.  It is expected to be used by an eventual SE-PostgreSQL
      implementation, but there are other possible applications as well.  A
      sample contrib module can be found in the archives at:
      
      http://archives.postgresql.org/pgsql-hackers/2010-05/msg01095.php
      
      Robert Haas and Stephen Frost
      f4122a8d
    • Tom Lane's avatar
      Stamp HEAD as 9.1devel. · b40466c3
      Tom Lane authored
      (And there was much rejoicing.)
      b40466c3
    • Marc G. Fournier's avatar
      · 1084f317
      Marc G. Fournier authored
      tag beta3
      1084f317
  8. 08 Jul, 2010 4 commits