Improve error message for checksum state in pg_upgrade When attempting to upgrade a cluster which is an inprogress state, the same error message was used regardless of which state it was. Fix by using different error messages for the different inprogress states.
Found by Noah using AI assisted review with Claude. Backpatch to v19 where the online checksums feature was introduced. Reported-by: Noah Misch <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 19 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9a45131b7cf3b573d1b15a093a3cc80869814cbe Modified Files -------------- src/bin/pg_upgrade/controldata.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
