model-writtenrun 1669 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley opened the thread with uint64 CATCACHE_STATS counters and Size-based MemSet/MemSetAligned loops to reduce dependence on platform-varying long widths, while leaving removal of the macros for separate research #1.
- Heikki Linnakangas supported unsigned counters, requested wrapped format strings, and recommended size_t over Size; Peter Eisentraut proposed unsigned long long for simpler counter formatting and questioned using a size type for memory-zeroing chunks #2 #3 #4.
- David explained that long is too narrow on 64-bit Windows while long long can be too wide on 32-bit systems; Peter accepted that rationale and requested comments, and Tom Lane supported size_t while cautioning that uintptr_t could confuse chunk sizing with address arithmetic #5 #6 #7.
- David submitted wrapped-format uint64 and alternative unsigned long long counter patches, together with the size_t macro revision, leaving the counter-type choice open for feedback #8.
- Andreas Karlsson introduced a separate patch using int64 seconds and int32 microseconds for timestamp differences and simplifying duration logging, while raising the alternative of returning TimeOffset and adding conversion helpers #9.
- David chose explicit 64-bit counter widths over simpler unsigned long long formatting and landed the uint64 component as 9c047da51f and the size_t macro component as 586d63214e, both from the revisions described in #8, then announced completion in #10.
- At the thread's close, David's two changes had landed, while Andreas's timestamp patch and its proposed TimeOffset alternative had no recorded resolution #9 #10.