model-writtenrun 9790 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed removing the untested --disable-strong-random option and its backend shared-memory and frontend fallback implementations, making callers use pg_strong_random() directly #1.
- Tom Lane requested documentation cleanup and a compatibility macro for extensions using pg_backend_random(); Michael accepted both, confirmed that MSVC already included the random generator unconditionally, and posted the revision #2 #3 #4.
- Tom's further review identified obsolete pgcrypto expected files, BackendRandomLock, redundant pointer casts, and outdated error wording, and supplied documentation explaining the OpenSSL requirement on platforms without /dev/urandom other than Windows #5 #6.
- During that review, Tom also found that pad_eme_pkcs1_v15() could continue using a freed buffer after random generation failed, proposed returning PXE_NO_RANDOM, and recommended a separate backpatched fix #5.
- Michael incorporated the review changes and padding fix into the final attached patch, including removal of the apparently unnecessary buffer memset, and planned a final pass before committing #7 #8.
- Michael first committed Tom's padding error-return correction separately as d880b208e5 and backpatched it through PostgreSQL 10, retaining the longstanding memset because keeping it felt safer #9.
- The remaining cleanup from #8 landed as 1707a0d2aa with small diagnostic and documentation edits; Michael's final announcement confirmed completion, leaving no outstanding patch work in the thread #10.