1. 29 Apr, 2010 5 commits
  2. 28 Apr, 2010 14 commits
  3. 27 Apr, 2010 2 commits
  4. 26 Apr, 2010 6 commits
  5. 24 Apr, 2010 2 commits
  6. 23 Apr, 2010 4 commits
  7. 22 Apr, 2010 4 commits
  8. 21 Apr, 2010 3 commits
    • Tom Lane's avatar
      Enforce superuser permissions checks during ALTER ROLE/DATABASE SET, rather · a6dcd19a
      Tom Lane authored
      than during define_custom_variable().  This entails rejecting an ALTER
      command if the target variable doesn't have a known (non-placeholder)
      definition, unless the calling user is superuser.  When the variable *is*
      known, we can correctly apply the rule that only superusers can issue ALTER
      for SUSET parameters.  This allows define_custom_variable to apply ALTER's
      values for SUSET parameters at module load time, secure in the knowledge
      that only a superuser could have set the ALTER value.  This change fixes a
      longstanding gotcha in the usage of SUSET-level custom parameters; which
      is a good thing to fix now that plpgsql defines such a parameter.
      a6dcd19a
    • Simon Riggs's avatar
      Only send cleanup_info messages if VACUUM removes any tuples. · f6e09270
      Simon Riggs authored
      There is no other purpose for this message type than to report
      the latestRemovedXid of removed tuples, prior to index scans.
      Removes overlooked path for sending invalid latestRemovedXid.
      Fixes buildfarm failure on centaur.
      f6e09270
    • Simon Riggs's avatar
      Relax locking during GetCurrentVirtualXIDs(). Earlier improvements · 0192abc4
      Simon Riggs authored
      to handling of btree delete records mean that all snapshot
      conflicts on standby now have a valid, useful latestRemovedXid.
      Our earlier approach using LW_EXCLUSIVE was useful when we didnt
      always have a valid value, though is no longer useful or necessary.
      Asserts added to code path to prove and ensure this is the case.
      This will reduce contention and improve performance of larger Hot
      Standby servers.
      0192abc4