mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Index FSMs needs to be vacuumed as well. Report by Jeff Davis.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/freespace/indexfsm.c,v 1.1 2008/09/30 10:52:13 heikki Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/freespace/indexfsm.c,v 1.2 2008/10/06 08:04:11 heikki Exp $
|
||||
*
|
||||
*
|
||||
* NOTES:
|
||||
@@ -90,3 +90,12 @@ IndexFreeSpaceMapTruncate(Relation rel, BlockNumber nblocks)
|
||||
{
|
||||
FreeSpaceMapTruncateRel(rel, nblocks);
|
||||
}
|
||||
|
||||
/*
|
||||
* IndexFreeSpaceMapVacuum - scan and fix any inconsistencies in the FSM
|
||||
*/
|
||||
void
|
||||
IndexFreeSpaceMapVacuum(Relation rel)
|
||||
{
|
||||
FreeSpaceMapVacuum(rel);
|
||||
}
|
||||
|
Reference in New Issue
Block a user