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