model-writtenrun 4114 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ranier Vilela proposed changing heapsize from int to long in ltsGetFreeBlock() to avoid narrowing the long-valued free-block count on platforms with wider longs #1, and Michael Paquier agreed with the diagnosis #2.
- Peter Geoghegan initially associated the report with an earlier issue #3, but Michael distinguished this backpatchable inconsistency from broader Windows limitations and a future redesign of the interface #4.
- David Rowley endorsed applying and backpatching the patch without waiting for a conversion to int64 #5; Peter accepted that distinction and supported the fix #6, while noting that allocation limits likely make the overflow unreachable in practice #7.
- Michael committed the patch unchanged as 52c6c0f196 and announced that, after PostgreSQL 16 RC1 was tagged, it had been applied and backpatched through PostgreSQL 13 #8.
- Ranier thanked Michael in the final reply #9, leaving the submitted fix fully landed with no further revision requested.