Skip to content

Commit 2ee90f4

Browse files
tussosedanCommitfest Bot
authored and
Commitfest Bot
committed
A small correction to doc and comment of FSM for indexes.
1 parent 1eb3993 commit 2ee90f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/sgml/pgfreespacemap.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<para>
6868
For indexes, what is tracked is entirely-unused pages, rather than free
6969
space within pages. Therefore, the values are not meaningful, just
70-
whether a page is full or empty.
70+
whether a page is in-use or empty.
7171
</para>
7272
</sect2>
7373

src/backend/storage/freespace/indexfsm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* This is similar to the FSM used for heap, in freespace.c, but instead
1717
* of tracking the amount of free space on pages, we only track whether
1818
* pages are completely free or in-use. We use the same FSM implementation
19-
* as for heaps, using BLCKSZ - 1 to denote used pages, and 0 for unused.
19+
* as for heaps, using 0 to denote used pages, and BLCKSZ - 1 for unused.
2020
*
2121
*-------------------------------------------------------------------------
2222
*/

0 commit comments

Comments
 (0)