1. 05 Apr, 2010 3 commits
    • Tom Lane's avatar
      Arrange to remove pg_default_acl entries completely if their ACL setting · 60bd2b19
      Tom Lane authored
      is changed to match the hard-wired default.  This avoids accumulating useless
      catalog entries, and also provides a path for dropping the owning role without
      using DROP OWNED BY.  Per yesterday's complaint from Jaime Casanova, the
      need to use DROP OWNED BY for that is less than obvious, so providing this
      alternative method might save some user frustration.
      60bd2b19
    • Tom Lane's avatar
      Fix updateAclDependencies() to not assume that ACL role dependencies can only · 9029df17
      Tom Lane authored
      be added during GRANT and can only be removed during REVOKE; and fix its
      callers to not lie to it about the existing set of dependencies when
      instantiating a formerly-default ACL.  The previous coding accidentally failed
      to malfunction so long as default ACLs contain only references to the object's
      owning role, because that role is ignored by updateAclDependencies.  However
      this is obviously pretty fragile, as well as being an undocumented assumption.
      The new coding is a few lines longer but IMO much clearer.
      9029df17
    • Tom Lane's avatar
      Improve phrasing of warning message for NOTIFY queue getting too full. · 80390f49
      Tom Lane authored
      Per gripe from Peter.
      80390f49
  2. 03 Apr, 2010 7 commits
  3. 02 Apr, 2010 8 commits
  4. 01 Apr, 2010 10 commits
  5. 31 Mar, 2010 9 commits
  6. 30 Mar, 2010 3 commits
    • Tom Lane's avatar
      Fix "constraint_exclusion = partition" logic so that it will also attempt · d174a4ad
      Tom Lane authored
      constraint exclusion on an inheritance set that is the target of an UPDATE
      or DELETE query.  Per gripe from Marc Cousin.  Back-patch to 8.4 where
      the feature was introduced.
      d174a4ad
    • Heikki Linnakangas's avatar
      Change the retry-loop in standby mode to also try restoring files from · 2a77355e
      Heikki Linnakangas authored
      pg_xlog directory. This is essential for replaying WAL records that
      were streamed from the master, after a standby server restart.
      
      If a corrupt record is seen in a file restored from the archive or
      streamed from the master, log it as a WARNING and keep retrying. If the
      corruption is permanent, and not just a glitch in the whatever copies the
      files to the archive or a network error not caught by CRC checks in TCP
      for example, we will keep retrying and logging the WARNING indefinitely.
      But that's better than shutting down completely, the standby is still
      useful for running read-only queries. In PITR the recovery ends at such a
      corrupt record, which is a bit questionable, but that's the behavior we
      had in previous releases and we don't feel like chaning it now. It does
      make sense for tools like pg_standby.
      2a77355e
    • Peter Eisentraut's avatar
      Message tuning · feb5087a
      Peter Eisentraut authored
      feb5087a