Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb645f6

Browse files
committed
Fix obsolete comment regarding FSM truncation.
1 parent4d6ee26 commitfb645f6

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
Relationrel=lfirst(cell);
23352333

2336-
/* Truncate theFSM andactual 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)

[8]ページ先頭

©2009-2025 Movatter.jp