doc: Correct description of values used in FSM for indexes
authorMichael Paquier <michael@paquier.xyz>
Thu, 27 Mar 2025 01:20:45 +0000 (10:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 27 Mar 2025 01:20:45 +0000 (10:20 +0900)
commit2afdb9dd96fb01fa22a11275c0bd47db14d05998
treebbfe94e6544b87c6cef076c91b7ae49f5ff28680
parentcb0ad70b8e47a2beb199b2106fb652f6a287aade
doc: Correct description of values used in FSM for indexes

The implementation of FSM for indexes is simpler than heap, where 0 is
used 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 of
pg_freespacemap were incorrect about that.

Author: Alex Friedman <alexf01@gmail.com>
Discussion: https://postgr.es/m/71eef655-c192-453f-ac45-2772fec2cb04@gmail.com
Backpatch-through: 13
doc/src/sgml/pgfreespacemap.sgml
src/backend/storage/freespace/indexfsm.c