|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.345 2008/11/19 10:34:51 heikki Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/catalog/heap.c,v 1.346 2008/11/27 15:59:28 heikki Exp $ |
12 | 12 | * |
13 | 13 | * |
14 | 14 | * INTERFACE ROUTINES |
@@ -2276,9 +2276,7 @@ RelationTruncateIndexes(Relation heapRelation) |
2276 | 2276 | indexInfo=BuildIndexInfo(currentIndex); |
2277 | 2277 |
|
2278 | 2278 | /* |
2279 | | - * Now truncate the actual file (and discard buffers). The indexam |
2280 | | - * is responsible for truncating the FSM in index_build(), if |
2281 | | - * applicable. |
| 2279 | + * Now truncate the actual file (and discard buffers). |
2282 | 2280 | */ |
2283 | 2281 | RelationTruncate(currentIndex,0); |
2284 | 2282 |
|
@@ -2333,7 +2331,7 @@ heap_truncate(List *relids) |
2333 | 2331 | { |
2334 | 2332 | Relationrel=lfirst(cell); |
2335 | 2333 |
|
2336 | | -/* Truncate theFSM andactual file (and discard buffers) */ |
| 2334 | +/* Truncate the actual file (and discard buffers) */ |
2337 | 2335 | RelationTruncate(rel,0); |
2338 | 2336 |
|
2339 | 2337 | /* If this relation has indexes, truncate the indexes too */ |
|