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

Commite5cf186

Browse files
committed
doc: Correct description of values used in FSM for indexes
The implementation of FSM for indexes is simpler than heap, where 0 isused to track if a page is in-use and (BLCKSZ - 1) if a page is free.One comment in indexfsm.c and one description in the documentation ofpg_freespacemap were incorrect about that.Author: Alex Friedman <alexf01@gmail.com>Discussion:https://postgr.es/m/71eef655-c192-453f-ac45-2772fec2cb04@gmail.comBackpatch-through: 13
1 parent0f60e1f commite5cf186

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎doc/src/sgml/pgfreespacemap.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<para>
6767
For indexes, what is tracked is entirely-unused pages, rather than free
6868
space within pages. Therefore, the values are not meaningful, just
69-
whether a page isfull or empty.
69+
whether a page isin-use or empty.
7070
</para>
7171

7272
<note>

‎src/backend/storage/freespace/indexfsm.c

Lines changed: 1 addition & 1 deletion
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, usingBLCKSZ - 1to denote used pages, and0 for unused.
19+
*as for heaps, using0to denote used pages, and(BLCKSZ - 1) for unused.
2020
*
2121
*-------------------------------------------------------------------------
2222
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp