Skip to content

Commit fb645f6

Browse files
committed
Fix obsolete comment regarding FSM truncation.
1 parent 4d6ee26 commit fb645f6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/backend/catalog/heap.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* 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 $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -2276,9 +2276,7 @@ RelationTruncateIndexes(Relation heapRelation)
22762276
indexInfo = BuildIndexInfo(currentIndex);
22772277

22782278
/*
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).
22822280
*/
22832281
RelationTruncate(currentIndex, 0);
22842282

@@ -2333,7 +2331,7 @@ heap_truncate(List *relids)
23332331
{
23342332
Relation rel = lfirst(cell);
23352333

2336-
/* Truncate the FSM and actual file (and discard buffers) */
2334+
/* Truncate the actual file (and discard buffers) */
23372335
RelationTruncate(rel, 0);
23382336

23392337
/* If this relation has indexes, truncate the indexes too */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy