model-writtenrun 9689 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Banck reported that checksum corruption tests wrote literal backslashes and zeros instead of zero bytes because their Perl strings used single quotes #1.
- The same investigation exposed an incorrect offset for corrupting a second pg_basebackup file, which Banck suspected had been masked by the unexpectedly long writes #1.
- Banck submitted a patch using double-quoted strings in both test suites and replacing the remaining hard-coded corruption offset with the page-header size #1.
- Michael Paquier committed the complete patch unchanged as a916bdc496 and applied its pg_basebackup portion to version 11 as 51be67346e, since the pg_verify_checksums tests were new in version 12.
- Paquier closed the thread by confirming the fixes and applicable backpatching, noting that an earlier repair had missed one seek call; no work remained outstanding #2.