doc: Correct description of values used in FSM for indexes
authorMichael Paquier <michael@paquier.xyz>
Thu, 27 Mar 2025 01:20:41 +0000 (10:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 27 Mar 2025 01:20:41 +0000 (10:20 +0900)
commit44fe6ceb51f001689048c19ea3ea53fbf2572581
tree0a1a7aa2ad11691dc92d85c3a48429b169f948e8
parentc325a7633fcb33dbd73f46ddbbe91e95ddf3b227
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