diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-10-06 08:04:11 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-10-06 08:04:11 +0000 |
commit | 89f373bf5bc6a9489fd34f2bd8f1dee68af28520 (patch) | |
tree | 8c894b9777f328d2a26daeff628f857ad94dc683 /src/backend/storage/freespace/indexfsm.c | |
parent | 557faa4fb3a73a5fbe7c6cb703af62d0dcd9e1cf (diff) | |
download | postgresql-89f373bf5bc6a9489fd34f2bd8f1dee68af28520.tar.gz postgresql-89f373bf5bc6a9489fd34f2bd8f1dee68af28520.zip |
Index FSMs needs to be vacuumed as well. Report by Jeff Davis.
Diffstat (limited to 'src/backend/storage/freespace/indexfsm.c')
-rw-r--r-- | src/backend/storage/freespace/indexfsm.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/backend/storage/freespace/indexfsm.c b/src/backend/storage/freespace/indexfsm.c index 62fd3d37942..768b633f081 100644 --- a/src/backend/storage/freespace/indexfsm.c +++ b/src/backend/storage/freespace/indexfsm.c @@ -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); +} |