From 9ec3d9b091b4794e04cc2b7172c9975fdaef2ce3 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Thu, 27 Nov 2008 15:59:28 +0000 Subject: [PATCH] Fix obsolete comment regarding FSM truncation. --- src/backend/catalog/heap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/backend/catalog/heap.c b/src/backend/catalog/heap.c index fbf1287059..3256062f3b 100644 --- a/src/backend/catalog/heap.c +++ b/src/backend/catalog/heap.c @@ -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 */ -- 2.39.5