1. 16 Mar, 2021 7 commits
  2. 15 Mar, 2021 6 commits
  3. 13 Mar, 2021 8 commits
  4. 12 Mar, 2021 17 commits
  5. 11 Mar, 2021 2 commits
    • Peter Geoghegan's avatar
      Save a few cycles during nbtree VACUUM. · 7bb97211
      Peter Geoghegan authored
      Avoid calling RelationGetNumberOfBlocks() unnecessarily in the common
      case where there are no deleted but not yet recycled pages to recycle
      during a cleanup-only nbtree VACUUM operation.
      
      Follow-up to commit e5d8a999, which (among other things) taught the
      "skip full scan" nbtree VACUUM mechanism to only trigger a full index
      scan when the absolute number of deleted pages in the index is
      considered excessive.
      7bb97211
    • Peter Geoghegan's avatar
      Add back vacuum_cleanup_index_scale_factor parameter. · effdd3f3
      Peter Geoghegan authored
      Commit 9f3665fb removed the vacuum_cleanup_index_scale_factor storage
      parameter.  However, that creates dump/reload hazards when moving across
      major versions.
      
      Add back the vacuum_cleanup_index_scale_factor parameter (though not the
      GUC of the same name) purely to avoid problems when using tools like
      pg_upgrade.  The parameter remains disabled and undocumented.
      
      No backpatch to Postgres 13, since vacuum_cleanup_index_scale_factor was
      only disabled by REL_13_STABLE's version of master branch commit
      9f3665fb in the first place -- the parameter already looks like this on
      REL_13_STABLE.
      
      Discussion: https://postgr.es/m/YEm/a3Ko3nKnBuVq@paquier.xyz
      effdd3f3