aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-11-27 15:59:28 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-11-27 15:59:28 +0000
commitfb645f6426a933faefbe43a61646b2ec005333dd (patch)
treee50fc8a33ded5d1b4a7ab4241decaf8bcf0de376 /src
parent4d6ee261717525210897255037869e3ff9a49210 (diff)
downloadpostgresql-fb645f6426a933faefbe43a61646b2ec005333dd.tar.gz
postgresql-fb645f6426a933faefbe43a61646b2ec005333dd.zip
Fix obsolete comment regarding FSM truncation.
Diffstat (limited to 'src')
-rw-r--r--src/backend/catalog/heap.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c
index 769b3b63575..c2239cd3d22 100644
--- a/src/backend/catalog/heap.c
+++ b/src/backend/catalog/heap.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.345 2008/11/19 10:34:51 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.346 2008/11/27 15:59:28 heikki Exp $
*
*
* INTERFACE ROUTINES
@@ -2276,9 +2276,7 @@ RelationTruncateIndexes(Relation heapRelation)
indexInfo = BuildIndexInfo(currentIndex);
/*
- * Now truncate the actual file (and discard buffers). The indexam
- * is responsible for truncating the FSM in index_build(), if
- * applicable.
+ * Now truncate the actual file (and discard buffers).
*/
RelationTruncate(currentIndex, 0);
@@ -2333,7 +2331,7 @@ heap_truncate(List *relids)
{
Relation rel = lfirst(cell);
- /* Truncate the FSM and actual file (and discard buffers) */
+ /* Truncate the actual file (and discard buffers) */
RelationTruncate(rel, 0);
/* If this relation has indexes, truncate the indexes too */