model-writtenrun 6301 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed using strtoul() for pg_amcheck block numbers on platforms with 32-bit long, together with stricter parsing and bounds checks, in #1.
- Mark Dilger approved the patch and demonstrated a related pg_resetwal overflow diagnostic problem, proposing consistent errno checks there in #2.
- Michael Paquier endorsed the immediate pg_amcheck fix for PostgreSQL 14 while describing a planned int64 option-parsing API for future development in #3.
- Peter committed the pg_amcheck patch unchanged as f1899f251d and confirmed its application to master and PostgreSQL 14 in #4.
- Peter also implemented Mark's pg_resetwal suggestion directly from the discussion as 9a6345ed74, adding errno checks throughout numeric option parsing; his final message #4 confirms that fix landed on master, completing both fixes.