model-writtenrun 86 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Markos Fountoulakis reported that pg_indexam_progress_phasename() fetched its declared int8 argument as int32, preventing access-method phase names from appearing on older 32-bit builds, and requested backpatching in #1.
- The attached patch changed both the local variable and argument-fetch macro to int64 in src/backend/utils/adt/amutils.c #1.
- Chao Li endorsed the fix after checking the SQL signature and AM callback, and suggested adding a regression test; the thread records no resolution of that suggestion #2.
- Michael Paquier agreed that the bug warranted backpatching and said he would fix it in the thread’s last message #3.
- The original patch #1 subsequently landed unchanged as 66042bd3eb, crediting Chao Li’s review and specifying backpatching through PostgreSQL 14; no test was added.