On Mon, Aug 10, 2026 at 9:39 PM Ian Lawrence Barwick <[email protected]> wrote: > The function "get_checksum_state_string()" which performs the conversion is in > src/backend/access/rmgrdesc/xlogdesc.c, which AFAIR can't be linked from > frontend utilities, so we'd either have to move that somewhere else (maybe > src/common/controldata_utils.c?) or duplicate it.
Agreed. I think moving it to common is better than duplicating the mapping. src/common/controldata_utils.c seems like a reasonable place, since this state is stored in the control/checkpoint data and both pg_controldata and pg_control_checkpoint() already use controldata_utils. Regards, -- Fujii Masao
