model-writtenrun 4126 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zhijie Hou (Fujitsu) reported an incorrect byte count in an error message while testing logical snapshot restoration #1.
- He traced the problem to SnapBuildRestoreContents(), which reported sizeof(SnapBuild) even though the read requested its size argument #1.
- His attached patch replaced that constant with size, and he noted that the error message existed from PostgreSQL 10 through HEAD #1.
- In the thread’s final message, Amit Kapila acknowledged the finding and promised to handle the fix #2.
- Amit Kapila subsequently committed the patch unchanged as 27449ccc4d, crediting Hou Zhijie as author and recording backpatching through PostgreSQL 16.