mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
pgindent run prior to branching
This commit is contained in:
@@ -820,10 +820,10 @@ _bt_vacuum_needs_cleanup(IndexVacuumInfo *info)
|
||||
|
||||
/*
|
||||
* If table receives enough insertions and no cleanup was performed,
|
||||
* then index would appear have stale statistics. If scale factor
|
||||
* is set, we avoid that by performing cleanup if the number of
|
||||
* inserted tuples exceeds vacuum_cleanup_index_scale_factor fraction
|
||||
* of original tuples count.
|
||||
* then index would appear have stale statistics. If scale factor is
|
||||
* set, we avoid that by performing cleanup if the number of inserted
|
||||
* tuples exceeds vacuum_cleanup_index_scale_factor fraction of
|
||||
* original tuples count.
|
||||
*/
|
||||
relopts = (StdRdOptions *) info->index->rd_options;
|
||||
cleanup_scale_factor = (relopts &&
|
||||
@@ -873,8 +873,8 @@ btbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats,
|
||||
&oldestBtpoXact);
|
||||
|
||||
/*
|
||||
* Update cleanup-related information in metapage. This information
|
||||
* is used only for cleanup but keeping them up to date can avoid
|
||||
* Update cleanup-related information in metapage. This information is
|
||||
* used only for cleanup but keeping them up to date can avoid
|
||||
* unnecessary cleanup even after bulkdelete.
|
||||
*/
|
||||
_bt_update_meta_cleanup_info(info->index, oldestBtpoXact,
|
||||
|
Reference in New Issue
Block a user