model-writtenrun 8732 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed pageinspect tests that check exact checksum values for six synthetic page patterns and three block numbers, closing a gap where existing tests only checked for a non-NULL result #1.
- David Steele identified endianness as a concern #2, and Tom Lane noted that both byte order and block size affect results, suggesting either TAP tests or a separate regression script with alternative expected outputs #3.
- Michael questioned the cost of adding TAP tests dependent on pageinspect and considered using byte-order-independent patterns #4; Tom instead supplied a separate regression test with expected outputs for both byte orders at 8K, 16K, and 32K block sizes #5.
- David examined the revised results and recognized that repeated-byte patterns also produce different checksums across byte orders #6, while Michael verified the little-endian calculations and indicated that limiting expected outputs to 8K would be reasonable #7.
- Tom committed the revised tests as 38ce06c37e, retaining only the 8K expected outputs from #5 because broader block-size support offered little value while other regression tests still failed with nondefault sizes #8.
- Michael accepted the reduced scope in the final reply #9, leaving the checksum tests landed and nondefault-block-size expected outputs deferred.